{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "import time\n",
    "os_train=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\Same_userid\\oc_train.csv')\n",
    "os_test=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\Same_userid\\oc_test.csv')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 删除没有购买东西的行，只删除test中没有的距离"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "indx=os_train[os_train['Discount_rate']<1].index\n",
    "discount=os_train.loc[indx]\n",
    "os_train=os_train.drop(indx,axis=0)\n",
    "discount.index=np.arange(0,len(discount),1)\n",
    "os_train.index=np.arange(0,len(os_train),1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "#初始化\n",
    "a=set(os_train['Merchant_id'].values)\n",
    "s=pd.DataFrame()\n",
    "s['a']=list(a)\n",
    "os_train['shop_id']=0\n",
    "s.to_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\a.csv',index=False)\n",
    "os_train.to_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\os_train_shop.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "ha=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\a.csv')\n",
    "ha.index=np.arange(0,len(ha),1)\n",
    "ha['len']=0\n",
    "for i in ha.index:\n",
    "    ha.loc[i,'len']=len(os_train[os_train['Merchant_id']==ha.loc[i,'a']])\n",
    "ha=ha.sort_values(by=['len'],ascending=True).copy()\n",
    "ha.index=np.arange(0,len(ha),1)\n",
    "ha.to_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\a.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def shopn(id):           #计算店铺数量\n",
    "    merid.extend(list(id))\n",
    "    indexs=[]\n",
    "    for mid in id:\n",
    "        indexxx.extend(list(os_train[os_train['Merchant_id']==mid].index))\n",
    "        indexs.extend(list(os_train[os_train['Merchant_id']==mid].index))\n",
    "        #  avg=os_train[os_train['Merchant_id']==mid]['Discount_rate'].mean()\n",
    "\n",
    "        for uid in set(os_train[os_train['Merchant_id']==mid]['User_id'].values):\n",
    "            print('uid:',uid)\n",
    "            dis=os_train[(os_train['Merchant_id']==mid)&(os_train['User_id']==uid)]['Distance'].max()\n",
    "            time_min=os_train[(os_train['Merchant_id']==mid)&(os_train['User_id']==uid)]['Date_received'].min()\n",
    "            time_max=os_train[(os_train['Merchant_id']==mid)&(os_train['User_id']==uid)]['Date_received'].max()\n",
    "            merchantid=set()\n",
    "            discount_rate=os_train[(os_train['Merchant_id']==mid)&(os_train['User_id']==uid)]['Discount_rate'].max()\n",
    "            for ind in os_train[(os_train['User_id']==uid)&(os_train['Distance']==int(dis))].index:\n",
    "                if (os_train.loc[ind,'Discount_rate']==discount_rate) or (abs(os_train.loc[ind,'Date_received']-time_min)<7) or (abs(os_train.loc[ind,'Date_received']-time_max)<7):\n",
    "                    if ind not in indexxx and os_train.loc[ind,'Merchant_id'] not in merid:\n",
    "                        merchantid.add(os_train.loc[ind,'Merchant_id'])\n",
    "                    indexxx.extend([ind])\n",
    "                    indexs.extend([ind])\n",
    "            print('merchantid:',merchantid,end='\\t')\n",
    "            if len(merchantid)!=0:\n",
    "                indexs.extend(shopn(merchantid))\n",
    "                indexxx.extend([ind])\n",
    "    return indexs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "scrolled": false
   },
   "outputs": [],
   "source": [
    "global indexxx, merid\n",
    "indexxx=[]\n",
    "merid=[]\n",
    "index1=shopn([7836])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 8187 time: 0.021056652069091797 lenp(ha): 0.999729510413849 rate: 0.9999952304412318 i: 1 ha.loc[0,'a'] 1218\n",
      "list(a)[0]: 1218 time: 0.010052204132080078 lenp(ha): 0.9994590208276981 rate: 0.9999904608824638 i: 2 ha.loc[0,'a'] 6491\n",
      "list(a)[0]: 6491 time: 0.012032270431518555 lenp(ha): 0.9991885312415472 rate: 0.9999856913236956 i: 3 ha.loc[0,'a'] 4802\n",
      "list(a)[0]: 4802 time: 0.01106715202331543 lenp(ha): 0.9989180416553962 rate: 0.9999809217649275 i: 4 ha.loc[0,'a'] 6473\n",
      "list(a)[0]: 6473 time: 0.029124736785888672 lenp(ha): 0.9983770624830944 rate: 0.9999618435298551 i: 5 ha.loc[0,'a'] 1249\n",
      "list(a)[0]: 1249 time: 0.011029481887817383 lenp(ha): 0.9981065728969435 rate: 0.9999570739710869 i: 6 ha.loc[0,'a'] 6450\n",
      "list(a)[0]: 6450 time: 0.011061429977416992 lenp(ha): 0.9978360833107925 rate: 0.9999523044123189 i: 7 ha.loc[0,'a'] 4777\n",
      "list(a)[0]: 4777 time: 0.014038801193237305 lenp(ha): 0.9975655937246416 rate: 0.9999475348535507 i: 8 ha.loc[0,'a'] 8655\n",
      "list(a)[0]: 8655 time: 0.014069795608520508 lenp(ha): 0.9972951041384907 rate: 0.9999427652947825 i: 9 ha.loc[0,'a'] 4765\n",
      "list(a)[0]: 4765 time: 0.012032032012939453 lenp(ha): 0.9970246145523397 rate: 0.9999379957360145 i: 10 ha.loc[0,'a'] 449\n",
      "list(a)[0]: 449 time: 0.017078876495361328 lenp(ha): 0.9967541249661888 rate: 0.9999332261772463 i: 11 ha.loc[0,'a'] 4747\n",
      "list(a)[0]: 4747 time: 0.012060880661010742 lenp(ha): 0.9964836353800378 rate: 0.9999284566184782 i: 12 ha.loc[0,'a'] 7836\n",
      "list(a)[0]: 7836 time: 1904.273981332779 lenp(ha): 0.6407898295915607 rate: 0.04853503002437245 i: 13 ha.loc[0,'a'] 4267\n",
      "list(a)[0]: 4267 time: 0.024132490158081055 lenp(ha): 0.6405193400054098 rate: 0.048530260465604325 i: 14 ha.loc[0,'a'] 6493\n",
      "list(a)[0]: 6493 time: 0.021056413650512695 lenp(ha): 0.6402488504192588 rate: 0.04852549090683621 i: 15 ha.loc[0,'a'] 4989\n",
      "list(a)[0]: 4989 time: 0.01503896713256836 lenp(ha): 0.6399783608331079 rate: 0.04852072134806809 i: 16 ha.loc[0,'a'] 6476\n",
      "list(a)[0]: 6476 time: 0.017050504684448242 lenp(ha): 0.6397078712469569 rate: 0.048515951789299974 i: 17 ha.loc[0,'a'] 4576\n",
      "list(a)[0]: 4576 time: 0.01905059814453125 lenp(ha): 0.6394373816608061 rate: 0.04851118223053185 i: 18 ha.loc[0,'a'] 1565\n",
      "list(a)[0]: 1565 time: 0.01804661750793457 lenp(ha): 0.6391668920746552 rate: 0.048506412671763734 i: 19 ha.loc[0,'a'] 4786\n",
      "list(a)[0]: 4786 time: 0.02306818962097168 lenp(ha): 0.6388964024885042 rate: 0.04850164311299562 i: 20 ha.loc[0,'a'] 8658\n",
      "list(a)[0]: 8658 time: 0.016042232513427734 lenp(ha): 0.6386259129023533 rate: 0.0484968735542275 i: 21 ha.loc[0,'a'] 4831\n",
      "list(a)[0]: 4831 time: 0.022058486938476562 lenp(ha): 0.6383554233162023 rate: 0.04849210399545938 i: 22 ha.loc[0,'a'] 7234\n",
      "list(a)[0]: 7234 time: 0.020052433013916016 lenp(ha): 0.6380849337300514 rate: 0.04848733443669126 i: 23 ha.loc[0,'a'] 4702\n",
      "list(a)[0]: 4702 time: 0.01654791831970215 lenp(ha): 0.6378144441439004 rate: 0.04848256487792314 i: 24 ha.loc[0,'a'] 298\n",
      "list(a)[0]: 298 time: 0.027576208114624023 lenp(ha): 0.6375439545577495 rate: 0.048477795319155026 i: 25 ha.loc[0,'a'] 1287\n",
      "list(a)[0]: 1287 time: 0.020053863525390625 lenp(ha): 0.6372734649715986 rate: 0.04847302576038691 i: 26 ha.loc[0,'a'] 8376\n",
      "list(a)[0]: 8376 time: 0.015039443969726562 lenp(ha): 0.6370029753854477 rate: 0.048468256201618785 i: 27 ha.loc[0,'a'] 4703\n",
      "list(a)[0]: 4703 time: 0.01705026626586914 lenp(ha): 0.6367324857992968 rate: 0.04846348664285067 i: 28 ha.loc[0,'a'] 7237\n",
      "list(a)[0]: 7237 time: 0.022058486938476562 lenp(ha): 0.6364619962131458 rate: 0.04845871708408255 i: 29 ha.loc[0,'a'] 4900\n",
      "list(a)[0]: 4900 time: 0.01503896713256836 lenp(ha): 0.6361915066269949 rate: 0.048453947525314435 i: 30 ha.loc[0,'a'] 345\n",
      "list(a)[0]: 345 time: 0.01604175567626953 lenp(ha): 0.6359210170408439 rate: 0.04844917796654632 i: 31 ha.loc[0,'a'] 4793\n",
      "list(a)[0]: 4793 time: 0.016042232513427734 lenp(ha): 0.635650527454693 rate: 0.048444408407778194 i: 32 ha.loc[0,'a'] 289\n",
      "list(a)[0]: 289 time: 0.015039920806884766 lenp(ha): 0.635380037868542 rate: 0.04843963884901008 i: 33 ha.loc[0,'a'] 1495\n",
      "list(a)[0]: 1495 time: 0.02204132080078125 lenp(ha): 0.6351095482823911 rate: 0.04843486929024196 i: 34 ha.loc[0,'a'] 6638\n",
      "list(a)[0]: 6638 time: 0.018019914627075195 lenp(ha): 0.6348390586962402 rate: 0.048430099731473844 i: 35 ha.loc[0,'a'] 4655\n",
      "list(a)[0]: 4655 time: 0.015040159225463867 lenp(ha): 0.6345685691100893 rate: 0.04842533017270572 i: 36 ha.loc[0,'a'] 8302\n",
      "list(a)[0]: 8302 time: 0.015039205551147461 lenp(ha): 0.6342980795239384 rate: 0.048420560613937604 i: 37 ha.loc[0,'a'] 4755\n",
      "list(a)[0]: 4755 time: 0.02306079864501953 lenp(ha): 0.6340275899377874 rate: 0.04841579105516949 i: 38 ha.loc[0,'a'] 6586\n",
      "list(a)[0]: 6586 time: 0.021060943603515625 lenp(ha): 0.6337571003516365 rate: 0.04841102149640137 i: 39 ha.loc[0,'a'] 4790\n",
      "list(a)[0]: 4790 time: 0.014541387557983398 lenp(ha): 0.6334866107654855 rate: 0.048406251937633246 i: 40 ha.loc[0,'a'] 6492\n",
      "list(a)[0]: 6492 time: 0.017044544219970703 lenp(ha): 0.6332161211793346 rate: 0.04840148237886513 i: 41 ha.loc[0,'a'] 1290\n",
      "list(a)[0]: 1290 time: 0.016040563583374023 lenp(ha): 0.6329456315931836 rate: 0.04839671282009701 i: 42 ha.loc[0,'a'] 6595\n",
      "list(a)[0]: 6595 time: 0.014037609100341797 lenp(ha): 0.6326751420070327 rate: 0.048391943261328896 i: 43 ha.loc[0,'a'] 1423\n",
      "list(a)[0]: 1423 time: 0.01604151725769043 lenp(ha): 0.6324046524208818 rate: 0.04838717370256078 i: 44 ha.loc[0,'a'] 7164\n",
      "list(a)[0]: 7164 time: 0.015043258666992188 lenp(ha): 0.6321341628347309 rate: 0.048382404143792655 i: 45 ha.loc[0,'a'] 1123\n",
      "list(a)[0]: 1123 time: 0.020052671432495117 lenp(ha): 0.63186367324858 rate: 0.04837763458502454 i: 46 ha.loc[0,'a'] 6712\n",
      "list(a)[0]: 6712 time: 0.02506732940673828 lenp(ha): 0.631593183662429 rate: 0.04837286502625642 i: 47 ha.loc[0,'a'] 4907\n",
      "list(a)[0]: 4907 time: 0.014573097229003906 lenp(ha): 0.6313226940762781 rate: 0.048368095467488305 i: 48 ha.loc[0,'a'] 297\n",
      "list(a)[0]: 297 time: 0.0160675048828125 lenp(ha): 0.6310522044901271 rate: 0.04836332590872018 i: 49 ha.loc[0,'a'] 1274\n",
      "list(a)[0]: 1274 time: 0.019051551818847656 lenp(ha): 0.6307817149039762 rate: 0.048358556349952064 i: 50 ha.loc[0,'a'] 8490\n",
      "list(a)[0]: 8490 time: 0.015512228012084961 lenp(ha): 0.6305112253178252 rate: 0.04835378679118395 i: 51 ha.loc[0,'a'] 4754\n",
      "list(a)[0]: 4754 time: 0.014036417007446289 lenp(ha): 0.6302407357316744 rate: 0.04834901723241583 i: 52 ha.loc[0,'a'] 6462\n",
      "list(a)[0]: 6462 time: 0.014539718627929688 lenp(ha): 0.6299702461455234 rate: 0.048344247673647714 i: 53 ha.loc[0,'a'] 4285\n",
      "list(a)[0]: 4285 time: 0.017045259475708008 lenp(ha): 0.6296997565593725 rate: 0.04833947811487959 i: 54 ha.loc[0,'a'] 6583\n",
      "list(a)[0]: 6583 time: 0.015037298202514648 lenp(ha): 0.6294292669732215 rate: 0.04833470855611147 i: 55 ha.loc[0,'a'] 5020\n",
      "list(a)[0]: 5020 time: 0.015043020248413086 lenp(ha): 0.6291587773870706 rate: 0.04832993899734336 i: 56 ha.loc[0,'a'] 6636\n",
      "list(a)[0]: 6636 time: 0.015039682388305664 lenp(ha): 0.6288882878009197 rate: 0.04832516943857524 i: 57 ha.loc[0,'a'] 2213\n",
      "list(a)[0]: 2213 time: 0.017553329467773438 lenp(ha): 0.6286177982147687 rate: 0.048320399879807116 i: 58 ha.loc[0,'a'] 8522\n",
      "list(a)[0]: 8522 time: 0.017045259475708008 lenp(ha): 0.6283473086286178 rate: 0.048315630321039 i: 59 ha.loc[0,'a'] 8398\n",
      "list(a)[0]: 8398 time: 0.014037847518920898 lenp(ha): 0.6280768190424668 rate: 0.04831086076227088 i: 60 ha.loc[0,'a'] 7126\n",
      "list(a)[0]: 7126 time: 0.02006077766418457 lenp(ha): 0.627806329456316 rate: 0.048306091203502766 i: 61 ha.loc[0,'a'] 4908\n",
      "list(a)[0]: 4908 time: 0.01804828643798828 lenp(ha): 0.627535839870165 rate: 0.04830132164473465 i: 62 ha.loc[0,'a'] 7842\n",
      "list(a)[0]: 7842 time: 0.015039920806884766 lenp(ha): 0.6272653502840141 rate: 0.048296552085966525 i: 63 ha.loc[0,'a'] 4840\n",
      "list(a)[0]: 4840 time: 0.014540433883666992 lenp(ha): 0.6269948606978631 rate: 0.04829178252719841 i: 64 ha.loc[0,'a'] 7116\n",
      "list(a)[0]: 7116 time: 0.015040159225463867 lenp(ha): 0.6267243711117122 rate: 0.04828701296843029 i: 65 ha.loc[0,'a'] 5743\n",
      "list(a)[0]: 5743 time: 0.015585660934448242 lenp(ha): 0.6264538815255613 rate: 0.048282243409662175 i: 66 ha.loc[0,'a'] 1823\n",
      "list(a)[0]: 1823 time: 0.01503896713256836 lenp(ha): 0.6261833919394103 rate: 0.04827747385089405 i: 67 ha.loc[0,'a'] 1406\n",
      "list(a)[0]: 1406 time: 0.020084857940673828 lenp(ha): 0.6259129023532594 rate: 0.048272704292125934 i: 68 ha.loc[0,'a'] 7181\n",
      "list(a)[0]: 7181 time: 0.01504206657409668 lenp(ha): 0.6256424127671084 rate: 0.04826793473335782 i: 69 ha.loc[0,'a'] 4615\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4615 time: 0.019050121307373047 lenp(ha): 0.6253719231809576 rate: 0.0482631651745897 i: 70 ha.loc[0,'a'] 7079\n",
      "list(a)[0]: 7079 time: 0.022058486938476562 lenp(ha): 0.6251014335948066 rate: 0.048258395615821584 i: 71 ha.loc[0,'a'] 911\n",
      "list(a)[0]: 911 time: 0.01704573631286621 lenp(ha): 0.6248309440086557 rate: 0.04825362605705346 i: 72 ha.loc[0,'a'] 4146\n",
      "list(a)[0]: 4146 time: 0.019077777862548828 lenp(ha): 0.6245604544225047 rate: 0.04824885649828534 i: 73 ha.loc[0,'a'] 4987\n",
      "list(a)[0]: 4987 time: 0.016041278839111328 lenp(ha): 0.6242899648363538 rate: 0.048244086939517226 i: 74 ha.loc[0,'a'] 6759\n",
      "list(a)[0]: 6759 time: 0.016042232513427734 lenp(ha): 0.6240194752502028 rate: 0.04823931738074911 i: 75 ha.loc[0,'a'] 700\n",
      "list(a)[0]: 700 time: 0.015040397644042969 lenp(ha): 0.6237489856640519 rate: 0.048234547821980986 i: 76 ha.loc[0,'a'] 7205\n",
      "list(a)[0]: 7205 time: 0.021088838577270508 lenp(ha): 0.623478496077901 rate: 0.04822977826321287 i: 77 ha.loc[0,'a'] 1362\n",
      "list(a)[0]: 1362 time: 0.018047571182250977 lenp(ha): 0.6232080064917501 rate: 0.04822500870444475 i: 78 ha.loc[0,'a'] 8313\n",
      "list(a)[0]: 8313 time: 0.016041040420532227 lenp(ha): 0.6229375169055992 rate: 0.048220239145676635 i: 79 ha.loc[0,'a'] 1393\n",
      "list(a)[0]: 1393 time: 0.015039920806884766 lenp(ha): 0.6226670273194482 rate: 0.04821546958690851 i: 80 ha.loc[0,'a'] 6969\n",
      "list(a)[0]: 6969 time: 0.01604294776916504 lenp(ha): 0.6223965377332973 rate: 0.048210700028140395 i: 81 ha.loc[0,'a'] 4351\n",
      "list(a)[0]: 4351 time: 0.017047643661499023 lenp(ha): 0.6221260481471463 rate: 0.04820593046937228 i: 82 ha.loc[0,'a'] 8500\n",
      "list(a)[0]: 8500 time: 0.01905083656311035 lenp(ha): 0.6218555585609954 rate: 0.04820116091060416 i: 83 ha.loc[0,'a'] 4353\n",
      "list(a)[0]: 4353 time: 0.015038013458251953 lenp(ha): 0.6215850689748444 rate: 0.048196391351836045 i: 84 ha.loc[0,'a'] 7518\n",
      "list(a)[0]: 7518 time: 0.018047809600830078 lenp(ha): 0.6213145793886935 rate: 0.04819162179306792 i: 85 ha.loc[0,'a'] 5331\n",
      "list(a)[0]: 5331 time: 0.015039682388305664 lenp(ha): 0.6210440898025426 rate: 0.048186852234299804 i: 86 ha.loc[0,'a'] 527\n",
      "list(a)[0]: 527 time: 0.0165712833404541 lenp(ha): 0.6207736002163917 rate: 0.04818208267553169 i: 87 ha.loc[0,'a'] 2612\n",
      "list(a)[0]: 2612 time: 0.017043113708496094 lenp(ha): 0.6205031106302408 rate: 0.04817731311676357 i: 88 ha.loc[0,'a'] 6119\n",
      "list(a)[0]: 6119 time: 0.018076181411743164 lenp(ha): 0.6202326210440898 rate: 0.04817254355799545 i: 89 ha.loc[0,'a'] 1421\n",
      "list(a)[0]: 1421 time: 0.016016483306884766 lenp(ha): 0.6199621314579389 rate: 0.04816777399922733 i: 90 ha.loc[0,'a'] 8489\n",
      "list(a)[0]: 8489 time: 0.01503896713256836 lenp(ha): 0.6196916418717879 rate: 0.04816300444045921 i: 91 ha.loc[0,'a'] 1185\n",
      "list(a)[0]: 1185 time: 0.017023086547851562 lenp(ha): 0.619421152285637 rate: 0.048158234881691096 i: 92 ha.loc[0,'a'] 277\n",
      "list(a)[0]: 277 time: 0.017044782638549805 lenp(ha): 0.619150662699486 rate: 0.04815346532292298 i: 93 ha.loc[0,'a'] 5386\n",
      "list(a)[0]: 5386 time: 0.014036178588867188 lenp(ha): 0.6188801731133351 rate: 0.048148695764154856 i: 94 ha.loc[0,'a'] 4077\n",
      "list(a)[0]: 4077 time: 0.018073320388793945 lenp(ha): 0.6186096835271842 rate: 0.04814392620538674 i: 95 ha.loc[0,'a'] 1449\n",
      "list(a)[0]: 1449 time: 0.016038894653320312 lenp(ha): 0.6183391939410333 rate: 0.04813915664661862 i: 96 ha.loc[0,'a'] 7143\n",
      "list(a)[0]: 7143 time: 0.0145721435546875 lenp(ha): 0.6180687043548824 rate: 0.048134387087850505 i: 97 ha.loc[0,'a'] 3964\n",
      "list(a)[0]: 3964 time: 0.01604175567626953 lenp(ha): 0.6177982147687314 rate: 0.04812961752908238 i: 98 ha.loc[0,'a'] 5874\n",
      "list(a)[0]: 5874 time: 0.01440882682800293 lenp(ha): 0.6175277251825805 rate: 0.048124847970314265 i: 99 ha.loc[0,'a'] 1224\n",
      "list(a)[0]: 1224 time: 0.019050121307373047 lenp(ha): 0.6172572355964295 rate: 0.04812007841154615 i: 100 ha.loc[0,'a'] 6490\n",
      "list(a)[0]: 6490 time: 0.015012264251708984 lenp(ha): 0.6169867460102786 rate: 0.04811530885277803 i: 101 ha.loc[0,'a'] 4919\n",
      "list(a)[0]: 4919 time: 0.014542579650878906 lenp(ha): 0.6167162564241276 rate: 0.048110539294009914 i: 102 ha.loc[0,'a'] 7510\n",
      "list(a)[0]: 7510 time: 0.01604318618774414 lenp(ha): 0.6164457668379767 rate: 0.04810576973524179 i: 103 ha.loc[0,'a'] 5178\n",
      "list(a)[0]: 5178 time: 0.021560192108154297 lenp(ha): 0.6161752772518259 rate: 0.048101000176473674 i: 104 ha.loc[0,'a'] 8613\n",
      "list(a)[0]: 8613 time: 0.016038894653320312 lenp(ha): 0.6159047876656749 rate: 0.04809623061770556 i: 105 ha.loc[0,'a'] 4484\n",
      "list(a)[0]: 4484 time: 0.0170438289642334 lenp(ha): 0.615634298079524 rate: 0.04809146105893744 i: 106 ha.loc[0,'a'] 1914\n",
      "list(a)[0]: 1914 time: 0.16748738288879395 lenp(ha): 0.6150933189072221 rate: 0.047986530766038836 i: 107 ha.loc[0,'a'] 1480\n",
      "list(a)[0]: 1480 time: 0.01905369758605957 lenp(ha): 0.6148228293210711 rate: 0.04798176120727071 i: 108 ha.loc[0,'a'] 8290\n",
      "list(a)[0]: 8290 time: 0.015040397644042969 lenp(ha): 0.6145523397349202 rate: 0.047976991648502595 i: 109 ha.loc[0,'a'] 2305\n",
      "list(a)[0]: 2305 time: 0.016041040420532227 lenp(ha): 0.6142818501487692 rate: 0.04797222208973448 i: 110 ha.loc[0,'a'] 6131\n",
      "list(a)[0]: 6131 time: 0.014040708541870117 lenp(ha): 0.6140113605626183 rate: 0.04796745253096636 i: 111 ha.loc[0,'a'] 4412\n",
      "list(a)[0]: 4412 time: 0.017044544219970703 lenp(ha): 0.6137408709764675 rate: 0.047962682972198245 i: 112 ha.loc[0,'a'] 8471\n",
      "list(a)[0]: 8471 time: 0.016042232513427734 lenp(ha): 0.6134703813903165 rate: 0.04795791341343012 i: 113 ha.loc[0,'a'] 3891\n",
      "list(a)[0]: 3891 time: 0.016042709350585938 lenp(ha): 0.6131998918041656 rate: 0.047953143854662005 i: 114 ha.loc[0,'a'] 6924\n",
      "list(a)[0]: 6924 time: 0.01905035972595215 lenp(ha): 0.6129294022180146 rate: 0.04794837429589389 i: 115 ha.loc[0,'a'] 1077\n",
      "list(a)[0]: 1077 time: 0.015102863311767578 lenp(ha): 0.6126589126318637 rate: 0.04794360473712577 i: 116 ha.loc[0,'a'] 7451\n",
      "list(a)[0]: 7451 time: 0.015039682388305664 lenp(ha): 0.6123884230457127 rate: 0.04793883517835765 i: 117 ha.loc[0,'a'] 4431\n",
      "list(a)[0]: 4431 time: 0.01904916763305664 lenp(ha): 0.6121179334595618 rate: 0.04793406561958953 i: 118 ha.loc[0,'a'] 284\n",
      "list(a)[0]: 284 time: 0.017490386962890625 lenp(ha): 0.6118474438734108 rate: 0.047929296060821414 i: 119 ha.loc[0,'a'] 4386\n",
      "list(a)[0]: 4386 time: 0.015068769454956055 lenp(ha): 0.6115769542872599 rate: 0.0479245265020533 i: 120 ha.loc[0,'a'] 6618\n",
      "list(a)[0]: 6618 time: 0.01604294776916504 lenp(ha): 0.611306464701109 rate: 0.04791975694328518 i: 121 ha.loc[0,'a'] 874\n",
      "list(a)[0]: 874 time: 0.017049312591552734 lenp(ha): 0.6110359751149581 rate: 0.047914987384517056 i: 122 ha.loc[0,'a'] 7507\n",
      "list(a)[0]: 7507 time: 0.017045021057128906 lenp(ha): 0.6107654855288072 rate: 0.04791021782574894 i: 123 ha.loc[0,'a'] 1130\n",
      "list(a)[0]: 1130 time: 0.015543937683105469 lenp(ha): 0.6104949959426562 rate: 0.04790544826698082 i: 124 ha.loc[0,'a'] 100\n",
      "list(a)[0]: 100 time: 0.07721233367919922 lenp(ha): 0.6099540167703543 rate: 0.04788637003190835 i: 125 ha.loc[0,'a'] 4311\n",
      "list(a)[0]: 4311 time: 0.01654505729675293 lenp(ha): 0.6096835271842034 rate: 0.04788160047314023 i: 126 ha.loc[0,'a'] 7701\n",
      "list(a)[0]: 7701 time: 0.015064239501953125 lenp(ha): 0.6094130375980524 rate: 0.04787683091437211 i: 127 ha.loc[0,'a'] 3259\n",
      "list(a)[0]: 3259 time: 0.01604294776916504 lenp(ha): 0.6091425480119016 rate: 0.04787206135560399 i: 128 ha.loc[0,'a'] 1889\n",
      "list(a)[0]: 1889 time: 0.01901698112487793 lenp(ha): 0.6088720584257507 rate: 0.047867291796835874 i: 129 ha.loc[0,'a'] 2250\n",
      "list(a)[0]: 2250 time: 0.0210568904876709 lenp(ha): 0.6086015688395997 rate: 0.04786252223806776 i: 130 ha.loc[0,'a'] 428\n",
      "list(a)[0]: 428 time: 0.02374744415283203 lenp(ha): 0.6083310792534488 rate: 0.04785775267929964 i: 131 ha.loc[0,'a'] 4742\n",
      "list(a)[0]: 4742 time: 0.01504063606262207 lenp(ha): 0.6080605896672978 rate: 0.04785298312053152 i: 132 ha.loc[0,'a'] 1579\n",
      "list(a)[0]: 1579 time: 0.01604318618774414 lenp(ha): 0.6077901000811469 rate: 0.0478482135617634 i: 133 ha.loc[0,'a'] 3068\n",
      "list(a)[0]: 3068 time: 0.014537811279296875 lenp(ha): 0.6075196104949959 rate: 0.04784344400299528 i: 134 ha.loc[0,'a'] 617\n",
      "list(a)[0]: 617 time: 0.021054506301879883 lenp(ha): 0.607249120908845 rate: 0.04783867444422717 i: 135 ha.loc[0,'a'] 5416\n",
      "list(a)[0]: 5416 time: 0.016153573989868164 lenp(ha): 0.606978631322694 rate: 0.04783390488545904 i: 136 ha.loc[0,'a'] 1762\n",
      "list(a)[0]: 1762 time: 0.015041351318359375 lenp(ha): 0.6067081417365432 rate: 0.047829135326690926 i: 137 ha.loc[0,'a'] 5267\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 5267 time: 0.01604294776916504 lenp(ha): 0.6064376521503922 rate: 0.04782436576792281 i: 138 ha.loc[0,'a'] 3299\n",
      "list(a)[0]: 3299 time: 0.014540433883666992 lenp(ha): 0.6061671625642413 rate: 0.04781959620915469 i: 139 ha.loc[0,'a'] 1453\n",
      "list(a)[0]: 1453 time: 0.0160369873046875 lenp(ha): 0.6058966729780904 rate: 0.047814826650386576 i: 140 ha.loc[0,'a'] 6814\n",
      "list(a)[0]: 6814 time: 0.09425520896911621 lenp(ha): 0.6053556938057885 rate: 0.047781439739009744 i: 141 ha.loc[0,'a'] 1363\n",
      "list(a)[0]: 1363 time: 0.0160677433013916 lenp(ha): 0.6050852042196375 rate: 0.04777667018024163 i: 142 ha.loc[0,'a'] 7822\n",
      "list(a)[0]: 7822 time: 0.016070127487182617 lenp(ha): 0.6048147146334866 rate: 0.04777190062147351 i: 143 ha.loc[0,'a'] 788\n",
      "list(a)[0]: 788 time: 0.01604437828063965 lenp(ha): 0.6045442250473356 rate: 0.04776713106270539 i: 144 ha.loc[0,'a'] 6686\n",
      "list(a)[0]: 6686 time: 0.018046140670776367 lenp(ha): 0.6042737354611848 rate: 0.04776236150393727 i: 145 ha.loc[0,'a'] 881\n",
      "list(a)[0]: 881 time: 0.01503896713256836 lenp(ha): 0.6040032458750338 rate: 0.04775759194516915 i: 146 ha.loc[0,'a'] 417\n",
      "list(a)[0]: 417 time: 0.021561861038208008 lenp(ha): 0.6037327562888829 rate: 0.047752822386401036 i: 147 ha.loc[0,'a'] 4925\n",
      "list(a)[0]: 4925 time: 0.017076969146728516 lenp(ha): 0.603462266702732 rate: 0.04774805282763291 i: 148 ha.loc[0,'a'] 234\n",
      "list(a)[0]: 234 time: 0.05314040184020996 lenp(ha): 0.6029212875304301 rate: 0.04773374415132856 i: 149 ha.loc[0,'a'] 5026\n",
      "list(a)[0]: 5026 time: 0.015467643737792969 lenp(ha): 0.6026507979442791 rate: 0.047728974592560446 i: 150 ha.loc[0,'a'] 6797\n",
      "list(a)[0]: 6797 time: 0.017069339752197266 lenp(ha): 0.6023803083581282 rate: 0.04772420503379232 i: 151 ha.loc[0,'a'] 5015\n",
      "list(a)[0]: 5015 time: 0.01601576805114746 lenp(ha): 0.6021098187719773 rate: 0.047719435475024205 i: 152 ha.loc[0,'a'] 7566\n",
      "list(a)[0]: 7566 time: 0.017525434494018555 lenp(ha): 0.6018393291858264 rate: 0.04771466591625609 i: 153 ha.loc[0,'a'] 1100\n",
      "list(a)[0]: 1100 time: 0.01707005500793457 lenp(ha): 0.6015688395996754 rate: 0.04770989635748797 i: 154 ha.loc[0,'a'] 8772\n",
      "list(a)[0]: 8772 time: 0.0194094181060791 lenp(ha): 0.6012983500135245 rate: 0.04770512679871985 i: 155 ha.loc[0,'a'] 4652\n",
      "list(a)[0]: 4652 time: 0.015038728713989258 lenp(ha): 0.6010278604273736 rate: 0.04770035723995173 i: 156 ha.loc[0,'a'] 8709\n",
      "list(a)[0]: 8709 time: 0.016066551208496094 lenp(ha): 0.6007573708412226 rate: 0.047695587681183614 i: 157 ha.loc[0,'a'] 5332\n",
      "list(a)[0]: 5332 time: 0.017548561096191406 lenp(ha): 0.6004868812550717 rate: 0.0476908181224155 i: 158 ha.loc[0,'a'] 8827\n",
      "list(a)[0]: 8827 time: 0.014036178588867188 lenp(ha): 0.6002163916689207 rate: 0.047686048563647374 i: 159 ha.loc[0,'a'] 5519\n",
      "list(a)[0]: 5519 time: 0.014036893844604492 lenp(ha): 0.5999459020827698 rate: 0.04768127900487926 i: 160 ha.loc[0,'a'] 6519\n",
      "list(a)[0]: 6519 time: 0.024135351181030273 lenp(ha): 0.5996754124966189 rate: 0.04767650944611114 i: 161 ha.loc[0,'a'] 2136\n",
      "list(a)[0]: 2136 time: 0.016042709350585938 lenp(ha): 0.599404922910468 rate: 0.04767173988734302 i: 162 ha.loc[0,'a'] 8145\n",
      "list(a)[0]: 8145 time: 0.017043590545654297 lenp(ha): 0.599134433324317 rate: 0.047666970328574906 i: 163 ha.loc[0,'a'] 5681\n",
      "list(a)[0]: 5681 time: 0.015043497085571289 lenp(ha): 0.5988639437381661 rate: 0.04766220076980678 i: 164 ha.loc[0,'a'] 8452\n",
      "list(a)[0]: 8452 time: 0.016042470932006836 lenp(ha): 0.5985934541520151 rate: 0.047657431211038666 i: 165 ha.loc[0,'a'] 1384\n",
      "list(a)[0]: 1384 time: 0.015850543975830078 lenp(ha): 0.5983229645658642 rate: 0.04765266165227055 i: 166 ha.loc[0,'a'] 7056\n",
      "list(a)[0]: 7056 time: 0.02005147933959961 lenp(ha): 0.5980524749797133 rate: 0.04764789209350243 i: 167 ha.loc[0,'a'] 4548\n",
      "list(a)[0]: 4548 time: 0.01804828643798828 lenp(ha): 0.5977819853935623 rate: 0.04764312253473431 i: 168 ha.loc[0,'a'] 6120\n",
      "list(a)[0]: 6120 time: 0.01554250717163086 lenp(ha): 0.5975114958074114 rate: 0.04763835297596619 i: 169 ha.loc[0,'a'] 819\n",
      "list(a)[0]: 819 time: 0.015039443969726562 lenp(ha): 0.5972410062212605 rate: 0.047633583417198075 i: 170 ha.loc[0,'a'] 3297\n",
      "list(a)[0]: 3297 time: 0.017044544219970703 lenp(ha): 0.5969705166351096 rate: 0.04762881385842996 i: 171 ha.loc[0,'a'] 1327\n",
      "list(a)[0]: 1327 time: 0.02258133888244629 lenp(ha): 0.5967000270489586 rate: 0.04762404429966184 i: 172 ha.loc[0,'a'] 6573\n",
      "list(a)[0]: 6573 time: 0.05564999580383301 lenp(ha): 0.5961590478766567 rate: 0.04760496606458937 i: 173 ha.loc[0,'a'] 3060\n",
      "list(a)[0]: 3060 time: 0.017045021057128906 lenp(ha): 0.5958885582905058 rate: 0.04760019650582124 i: 174 ha.loc[0,'a'] 3796\n",
      "list(a)[0]: 3796 time: 0.019080162048339844 lenp(ha): 0.5956180687043549 rate: 0.04759542694705313 i: 175 ha.loc[0,'a'] 2315\n",
      "list(a)[0]: 2315 time: 0.01557612419128418 lenp(ha): 0.5953475791182039 rate: 0.04759065738828501 i: 176 ha.loc[0,'a'] 3654\n",
      "list(a)[0]: 3654 time: 0.016041278839111328 lenp(ha): 0.595077089532053 rate: 0.04758588782951689 i: 177 ha.loc[0,'a'] 3049\n",
      "list(a)[0]: 3049 time: 0.016479969024658203 lenp(ha): 0.5948065999459021 rate: 0.047581118270748776 i: 178 ha.loc[0,'a'] 6323\n",
      "list(a)[0]: 6323 time: 0.01905059814453125 lenp(ha): 0.5945361103597512 rate: 0.04757634871198065 i: 179 ha.loc[0,'a'] 4957\n",
      "list(a)[0]: 4957 time: 0.015037775039672852 lenp(ha): 0.5942656207736002 rate: 0.047571579153212536 i: 180 ha.loc[0,'a'] 3534\n",
      "list(a)[0]: 3534 time: 0.016111373901367188 lenp(ha): 0.5939951311874493 rate: 0.04756680959444442 i: 181 ha.loc[0,'a'] 2240\n",
      "list(a)[0]: 2240 time: 0.015072345733642578 lenp(ha): 0.5937246416012983 rate: 0.0475620400356763 i: 182 ha.loc[0,'a'] 7532\n",
      "list(a)[0]: 7532 time: 0.021060943603515625 lenp(ha): 0.5934541520151474 rate: 0.04755727047690818 i: 183 ha.loc[0,'a'] 4440\n",
      "list(a)[0]: 4440 time: 0.017046689987182617 lenp(ha): 0.5931836624289964 rate: 0.04755250091814006 i: 184 ha.loc[0,'a'] 6780\n",
      "list(a)[0]: 6780 time: 0.020053386688232422 lenp(ha): 0.5929131728428455 rate: 0.047547731359371945 i: 185 ha.loc[0,'a'] 5633\n",
      "list(a)[0]: 5633 time: 0.018080472946166992 lenp(ha): 0.5926426832566947 rate: 0.04754296180060383 i: 186 ha.loc[0,'a'] 3700\n",
      "list(a)[0]: 3700 time: 0.016071319580078125 lenp(ha): 0.5923721936705437 rate: 0.04753819224183571 i: 187 ha.loc[0,'a'] 1685\n",
      "list(a)[0]: 1685 time: 0.021054983139038086 lenp(ha): 0.5921017040843928 rate: 0.04753342268306759 i: 188 ha.loc[0,'a'] 7625\n",
      "list(a)[0]: 7625 time: 0.016095399856567383 lenp(ha): 0.5918312144982418 rate: 0.04752865312429947 i: 189 ha.loc[0,'a'] 5021\n",
      "list(a)[0]: 5021 time: 0.01707005500793457 lenp(ha): 0.5915607249120909 rate: 0.047523883565531354 i: 190 ha.loc[0,'a'] 8036\n",
      "list(a)[0]: 8036 time: 0.019049644470214844 lenp(ha): 0.5912902353259399 rate: 0.04751911400676324 i: 191 ha.loc[0,'a'] 2851\n",
      "list(a)[0]: 2851 time: 0.02406764030456543 lenp(ha): 0.591019745739789 rate: 0.04751434444799511 i: 192 ha.loc[0,'a'] 6166\n",
      "list(a)[0]: 6166 time: 0.0938272476196289 lenp(ha): 0.5902082769813363 rate: 0.04749049665415452 i: 193 ha.loc[0,'a'] 982\n",
      "list(a)[0]: 982 time: 0.018053054809570312 lenp(ha): 0.5899377873951853 rate: 0.047485727095386406 i: 194 ha.loc[0,'a'] 7548\n",
      "list(a)[0]: 7548 time: 0.015041112899780273 lenp(ha): 0.5896672978090344 rate: 0.04748095753661829 i: 195 ha.loc[0,'a'] 5069\n",
      "list(a)[0]: 5069 time: 0.015009641647338867 lenp(ha): 0.5893968082228834 rate: 0.04747618797785017 i: 196 ha.loc[0,'a'] 896\n",
      "list(a)[0]: 896 time: 0.017017602920532227 lenp(ha): 0.5891263186367325 rate: 0.04747141841908205 i: 197 ha.loc[0,'a'] 4514\n",
      "list(a)[0]: 4514 time: 0.07612156867980957 lenp(ha): 0.5885853394644306 rate: 0.04744757062524146 i: 198 ha.loc[0,'a'] 3730\n",
      "list(a)[0]: 3730 time: 0.09376668930053711 lenp(ha): 0.5880443602921287 rate: 0.04741418371386463 i: 199 ha.loc[0,'a'] 895\n",
      "list(a)[0]: 895 time: 0.018108129501342773 lenp(ha): 0.5877738707059779 rate: 0.04740941415509651 i: 200 ha.loc[0,'a'] 6324\n",
      "list(a)[0]: 6324 time: 0.015041351318359375 lenp(ha): 0.5875033811198269 rate: 0.04740464459632839 i: 201 ha.loc[0,'a'] 2706\n",
      "list(a)[0]: 2706 time: 0.016008853912353516 lenp(ha): 0.587232891533676 rate: 0.047399875037560275 i: 202 ha.loc[0,'a'] 8360\n",
      "list(a)[0]: 8360 time: 0.01807999610900879 lenp(ha): 0.586962401947525 rate: 0.04739510547879216 i: 203 ha.loc[0,'a'] 1988\n",
      "list(a)[0]: 1988 time: 0.01604437828063965 lenp(ha): 0.5866919123613741 rate: 0.04739033592002404 i: 204 ha.loc[0,'a'] 7469\n",
      "list(a)[0]: 7469 time: 0.020052671432495117 lenp(ha): 0.5864214227752231 rate: 0.04738556636125592 i: 205 ha.loc[0,'a'] 5022\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 5022 time: 0.0260775089263916 lenp(ha): 0.5861509331890722 rate: 0.0473807968024878 i: 206 ha.loc[0,'a'] 645\n",
      "list(a)[0]: 645 time: 0.018554210662841797 lenp(ha): 0.5858804436029212 rate: 0.047376027243719684 i: 207 ha.loc[0,'a'] 4944\n",
      "list(a)[0]: 4944 time: 0.016042232513427734 lenp(ha): 0.5856099540167704 rate: 0.04737125768495157 i: 208 ha.loc[0,'a'] 7118\n",
      "list(a)[0]: 7118 time: 0.01604461669921875 lenp(ha): 0.5853394644306195 rate: 0.047366488126183444 i: 209 ha.loc[0,'a'] 5396\n",
      "list(a)[0]: 5396 time: 0.016042709350585938 lenp(ha): 0.5850689748444685 rate: 0.04736171856741533 i: 210 ha.loc[0,'a'] 4126\n",
      "list(a)[0]: 4126 time: 0.015039205551147461 lenp(ha): 0.5847984852583176 rate: 0.04735694900864721 i: 211 ha.loc[0,'a'] 2942\n",
      "list(a)[0]: 2942 time: 0.01604485511779785 lenp(ha): 0.5845279956721666 rate: 0.047352179449879093 i: 212 ha.loc[0,'a'] 3339\n",
      "list(a)[0]: 3339 time: 0.024097442626953125 lenp(ha): 0.5842575060860157 rate: 0.04734740989111098 i: 213 ha.loc[0,'a'] 2747\n",
      "list(a)[0]: 2747 time: 0.019053936004638672 lenp(ha): 0.5839870164998647 rate: 0.04734264033234285 i: 214 ha.loc[0,'a'] 3681\n",
      "list(a)[0]: 3681 time: 0.014037132263183594 lenp(ha): 0.5837165269137138 rate: 0.047337870773574736 i: 215 ha.loc[0,'a'] 1007\n",
      "list(a)[0]: 1007 time: 0.015011787414550781 lenp(ha): 0.5834460373275628 rate: 0.04733310121480662 i: 216 ha.loc[0,'a'] 5946\n",
      "list(a)[0]: 5946 time: 0.017083406448364258 lenp(ha): 0.583175547741412 rate: 0.0473283316560385 i: 217 ha.loc[0,'a'] 1609\n",
      "list(a)[0]: 1609 time: 0.015009164810180664 lenp(ha): 0.5829050581552611 rate: 0.04732356209727038 i: 218 ha.loc[0,'a'] 7501\n",
      "list(a)[0]: 7501 time: 0.014540672302246094 lenp(ha): 0.5826345685691101 rate: 0.04731879253850226 i: 219 ha.loc[0,'a'] 3133\n",
      "list(a)[0]: 3133 time: 0.023061513900756836 lenp(ha): 0.5823640789829592 rate: 0.047314022979734145 i: 220 ha.loc[0,'a'] 6408\n",
      "list(a)[0]: 6408 time: 0.018045902252197266 lenp(ha): 0.5820935893968082 rate: 0.04730925342096603 i: 221 ha.loc[0,'a'] 1339\n",
      "list(a)[0]: 1339 time: 0.01504206657409668 lenp(ha): 0.5818230998106573 rate: 0.047304483862197905 i: 222 ha.loc[0,'a'] 230\n",
      "list(a)[0]: 230 time: 0.016040802001953125 lenp(ha): 0.5815526102245063 rate: 0.04729971430342979 i: 223 ha.loc[0,'a'] 4943\n",
      "list(a)[0]: 4943 time: 0.01807999610900879 lenp(ha): 0.5812821206383554 rate: 0.04729494474466167 i: 224 ha.loc[0,'a'] 7253\n",
      "list(a)[0]: 7253 time: 0.015046358108520508 lenp(ha): 0.5810116310522044 rate: 0.047290175185893554 i: 225 ha.loc[0,'a'] 5160\n",
      "list(a)[0]: 5160 time: 0.017011404037475586 lenp(ha): 0.5807411414660536 rate: 0.04728540562712544 i: 226 ha.loc[0,'a'] 7358\n",
      "list(a)[0]: 7358 time: 0.01807999610900879 lenp(ha): 0.5804706518799027 rate: 0.047280636068357314 i: 227 ha.loc[0,'a'] 1437\n",
      "list(a)[0]: 1437 time: 0.08322620391845703 lenp(ha): 0.5796591831214498 rate: 0.04725678827451672 i: 228 ha.loc[0,'a'] 7515\n",
      "list(a)[0]: 7515 time: 0.016041040420532227 lenp(ha): 0.5793886935352989 rate: 0.047252018715748606 i: 229 ha.loc[0,'a'] 2533\n",
      "list(a)[0]: 2533 time: 0.016017675399780273 lenp(ha): 0.5791182039491479 rate: 0.04724724915698049 i: 230 ha.loc[0,'a'] 7558\n",
      "list(a)[0]: 7558 time: 0.015038728713989258 lenp(ha): 0.578847714362997 rate: 0.04724247959821237 i: 231 ha.loc[0,'a'] 2964\n",
      "list(a)[0]: 2964 time: 0.021060705184936523 lenp(ha): 0.5785772247768461 rate: 0.04723771003944425 i: 232 ha.loc[0,'a'] 3620\n",
      "list(a)[0]: 3620 time: 0.014036893844604492 lenp(ha): 0.5783067351906952 rate: 0.04723294048067613 i: 233 ha.loc[0,'a'] 2865\n",
      "list(a)[0]: 2865 time: 0.015039443969726562 lenp(ha): 0.5780362456045443 rate: 0.047228170921908015 i: 234 ha.loc[0,'a'] 8646\n",
      "list(a)[0]: 8646 time: 0.015039682388305664 lenp(ha): 0.5777657560183933 rate: 0.0472234013631399 i: 235 ha.loc[0,'a'] 5226\n",
      "list(a)[0]: 5226 time: 0.015040397644042969 lenp(ha): 0.5774952664322424 rate: 0.047218631804371775 i: 236 ha.loc[0,'a'] 8061\n",
      "list(a)[0]: 8061 time: 0.01353764533996582 lenp(ha): 0.5772247768460914 rate: 0.04721386224560366 i: 237 ha.loc[0,'a'] 1489\n",
      "list(a)[0]: 1489 time: 0.017046689987182617 lenp(ha): 0.5769542872599405 rate: 0.04720909268683554 i: 238 ha.loc[0,'a'] 8786\n",
      "list(a)[0]: 8786 time: 0.021025657653808594 lenp(ha): 0.5766837976737895 rate: 0.047204323128067424 i: 239 ha.loc[0,'a'] 4461\n",
      "list(a)[0]: 4461 time: 0.015043973922729492 lenp(ha): 0.5764133080876386 rate: 0.04719955356929931 i: 240 ha.loc[0,'a'] 7265\n",
      "list(a)[0]: 7265 time: 0.017045259475708008 lenp(ha): 0.5761428185014877 rate: 0.047194784010531184 i: 241 ha.loc[0,'a'] 2579\n",
      "list(a)[0]: 2579 time: 0.014039993286132812 lenp(ha): 0.5758723289153368 rate: 0.04719001445176307 i: 242 ha.loc[0,'a'] 8547\n",
      "list(a)[0]: 8547 time: 0.021053791046142578 lenp(ha): 0.5756018393291858 rate: 0.04718524489299495 i: 243 ha.loc[0,'a'] 3955\n",
      "list(a)[0]: 3955 time: 0.01604175567626953 lenp(ha): 0.5753313497430349 rate: 0.04718047533422683 i: 244 ha.loc[0,'a'] 7344\n",
      "list(a)[0]: 7344 time: 0.01805567741394043 lenp(ha): 0.575060860156884 rate: 0.04717570577545871 i: 245 ha.loc[0,'a'] 1999\n",
      "list(a)[0]: 1999 time: 0.01701188087463379 lenp(ha): 0.574790370570733 rate: 0.04717093621669059 i: 246 ha.loc[0,'a'] 6662\n",
      "list(a)[0]: 6662 time: 0.018045425415039062 lenp(ha): 0.5745198809845821 rate: 0.047166166657922476 i: 247 ha.loc[0,'a'] 5782\n",
      "list(a)[0]: 5782 time: 0.01705193519592285 lenp(ha): 0.5742493913984311 rate: 0.04716139709915436 i: 248 ha.loc[0,'a'] 6287\n",
      "list(a)[0]: 6287 time: 0.01804971694946289 lenp(ha): 0.5739789018122802 rate: 0.04715662754038624 i: 249 ha.loc[0,'a'] 4024\n",
      "list(a)[0]: 4024 time: 0.01700901985168457 lenp(ha): 0.5737084122261293 rate: 0.04715185798161812 i: 250 ha.loc[0,'a'] 1912\n",
      "list(a)[0]: 1912 time: 0.015038490295410156 lenp(ha): 0.5734379226399784 rate: 0.04714708842285 i: 251 ha.loc[0,'a'] 3135\n",
      "list(a)[0]: 3135 time: 0.017044782638549805 lenp(ha): 0.5731674330538274 rate: 0.047142318864081885 i: 252 ha.loc[0,'a'] 574\n",
      "list(a)[0]: 574 time: 0.019555091857910156 lenp(ha): 0.5728969434676765 rate: 0.04713754930531377 i: 253 ha.loc[0,'a'] 4961\n",
      "list(a)[0]: 4961 time: 0.01804637908935547 lenp(ha): 0.5726264538815256 rate: 0.047132779746545644 i: 254 ha.loc[0,'a'] 7691\n",
      "list(a)[0]: 7691 time: 0.015039443969726562 lenp(ha): 0.5723559642953746 rate: 0.04712801018777753 i: 255 ha.loc[0,'a'] 5650\n",
      "list(a)[0]: 5650 time: 0.022063255310058594 lenp(ha): 0.5720854747092237 rate: 0.04712324062900941 i: 256 ha.loc[0,'a'] 5798\n",
      "list(a)[0]: 5798 time: 0.016043901443481445 lenp(ha): 0.5718149851230727 rate: 0.047118471070241294 i: 257 ha.loc[0,'a'] 4830\n",
      "list(a)[0]: 4830 time: 0.017044782638549805 lenp(ha): 0.5715444955369219 rate: 0.04711370151147317 i: 258 ha.loc[0,'a'] 484\n",
      "list(a)[0]: 484 time: 0.060163259506225586 lenp(ha): 0.57100351636462 rate: 0.0470946232764007 i: 259 ha.loc[0,'a'] 5679\n",
      "list(a)[0]: 5679 time: 0.015542268753051758 lenp(ha): 0.570733026778469 rate: 0.04708985371763258 i: 260 ha.loc[0,'a'] 3330\n",
      "list(a)[0]: 3330 time: 0.015039205551147461 lenp(ha): 0.5704625371923181 rate: 0.04708508415886446 i: 261 ha.loc[0,'a'] 776\n",
      "list(a)[0]: 776 time: 0.018047332763671875 lenp(ha): 0.5701920476061672 rate: 0.047080314600096346 i: 262 ha.loc[0,'a'] 7193\n",
      "list(a)[0]: 7193 time: 0.02105998992919922 lenp(ha): 0.5699215580200162 rate: 0.04707554504132823 i: 263 ha.loc[0,'a'] 4226\n",
      "list(a)[0]: 4226 time: 0.015039920806884766 lenp(ha): 0.5696510684338653 rate: 0.047070775482560105 i: 264 ha.loc[0,'a'] 7166\n",
      "list(a)[0]: 7166 time: 0.015045404434204102 lenp(ha): 0.5693805788477143 rate: 0.04706600592379199 i: 265 ha.loc[0,'a'] 2109\n",
      "list(a)[0]: 2109 time: 0.016041994094848633 lenp(ha): 0.5691100892615635 rate: 0.04706123636502387 i: 266 ha.loc[0,'a'] 8706\n",
      "list(a)[0]: 8706 time: 0.02105545997619629 lenp(ha): 0.5688395996754125 rate: 0.047056466806255755 i: 267 ha.loc[0,'a'] 2083\n",
      "list(a)[0]: 2083 time: 0.01654839515686035 lenp(ha): 0.5685691100892616 rate: 0.04705169724748764 i: 268 ha.loc[0,'a'] 6409\n",
      "list(a)[0]: 6409 time: 0.01604151725769043 lenp(ha): 0.5682986205031106 rate: 0.047046927688719514 i: 269 ha.loc[0,'a'] 991\n",
      "list(a)[0]: 991 time: 0.01638627052307129 lenp(ha): 0.5680281309169597 rate: 0.0470421581299514 i: 270 ha.loc[0,'a'] 8764\n",
      "list(a)[0]: 8764 time: 0.018047809600830078 lenp(ha): 0.5677576413308087 rate: 0.04703738857118328 i: 271 ha.loc[0,'a'] 4188\n",
      "list(a)[0]: 4188 time: 0.020053386688232422 lenp(ha): 0.5674871517446578 rate: 0.047032619012415164 i: 272 ha.loc[0,'a'] 670\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 670 time: 0.016571998596191406 lenp(ha): 0.5672166621585069 rate: 0.04702784945364704 i: 273 ha.loc[0,'a'] 4227\n",
      "list(a)[0]: 4227 time: 0.018048524856567383 lenp(ha): 0.5669461725723559 rate: 0.04702307989487892 i: 274 ha.loc[0,'a'] 77\n",
      "list(a)[0]: 77 time: 0.017078876495361328 lenp(ha): 0.5666756829862051 rate: 0.047018310336110807 i: 275 ha.loc[0,'a'] 992\n",
      "list(a)[0]: 992 time: 0.015568256378173828 lenp(ha): 0.5664051934000541 rate: 0.04701354077734269 i: 276 ha.loc[0,'a'] 8402\n",
      "list(a)[0]: 8402 time: 0.015064716339111328 lenp(ha): 0.5661347038139032 rate: 0.04700877121857457 i: 277 ha.loc[0,'a'] 2929\n",
      "list(a)[0]: 2929 time: 0.015057086944580078 lenp(ha): 0.5658642142277522 rate: 0.04700400165980645 i: 278 ha.loc[0,'a'] 6112\n",
      "list(a)[0]: 6112 time: 0.022058725357055664 lenp(ha): 0.5655937246416013 rate: 0.04699923210103833 i: 279 ha.loc[0,'a'] 2062\n",
      "list(a)[0]: 2062 time: 0.016011476516723633 lenp(ha): 0.5653232350554503 rate: 0.046994462542270216 i: 280 ha.loc[0,'a'] 3651\n",
      "list(a)[0]: 3651 time: 0.022565364837646484 lenp(ha): 0.5650527454692994 rate: 0.0469896929835021 i: 281 ha.loc[0,'a'] 2078\n",
      "list(a)[0]: 2078 time: 0.015039920806884766 lenp(ha): 0.5647822558831485 rate: 0.046984923424733975 i: 282 ha.loc[0,'a'] 6159\n",
      "list(a)[0]: 6159 time: 0.014036893844604492 lenp(ha): 0.5645117662969976 rate: 0.04698015386596586 i: 283 ha.loc[0,'a'] 2447\n",
      "list(a)[0]: 2447 time: 0.017048358917236328 lenp(ha): 0.5642412767108467 rate: 0.04697538430719774 i: 284 ha.loc[0,'a'] 7102\n",
      "list(a)[0]: 7102 time: 0.018048763275146484 lenp(ha): 0.5639707871246957 rate: 0.046970614748429625 i: 285 ha.loc[0,'a'] 4184\n",
      "list(a)[0]: 4184 time: 0.020057201385498047 lenp(ha): 0.5637002975385448 rate: 0.04696584518966151 i: 286 ha.loc[0,'a'] 8456\n",
      "list(a)[0]: 8456 time: 0.015041351318359375 lenp(ha): 0.5634298079523938 rate: 0.046961075630893384 i: 287 ha.loc[0,'a'] 4535\n",
      "list(a)[0]: 4535 time: 0.024065732955932617 lenp(ha): 0.5631593183662429 rate: 0.04695630607212527 i: 288 ha.loc[0,'a'] 8648\n",
      "list(a)[0]: 8648 time: 0.021562814712524414 lenp(ha): 0.5628888287800919 rate: 0.04695153651335715 i: 289 ha.loc[0,'a'] 780\n",
      "list(a)[0]: 780 time: 0.01704549789428711 lenp(ha): 0.562618339193941 rate: 0.046946766954589034 i: 290 ha.loc[0,'a'] 7364\n",
      "list(a)[0]: 7364 time: 0.023060321807861328 lenp(ha): 0.56234784960779 rate: 0.04694199739582091 i: 291 ha.loc[0,'a'] 3907\n",
      "list(a)[0]: 3907 time: 0.016545534133911133 lenp(ha): 0.5620773600216392 rate: 0.04693722783705279 i: 292 ha.loc[0,'a'] 7306\n",
      "list(a)[0]: 7306 time: 0.016040563583374023 lenp(ha): 0.5618068704354883 rate: 0.046932458278284676 i: 293 ha.loc[0,'a'] 3237\n",
      "list(a)[0]: 3237 time: 0.015038251876831055 lenp(ha): 0.5615363808493373 rate: 0.04692768871951656 i: 294 ha.loc[0,'a'] 206\n",
      "list(a)[0]: 206 time: 0.01557016372680664 lenp(ha): 0.5612658912631864 rate: 0.046922919160748436 i: 295 ha.loc[0,'a'] 5088\n",
      "list(a)[0]: 5088 time: 0.015011787414550781 lenp(ha): 0.5609954016770354 rate: 0.04691814960198032 i: 296 ha.loc[0,'a'] 7339\n",
      "list(a)[0]: 7339 time: 0.013834953308105469 lenp(ha): 0.5607249120908845 rate: 0.0469133800432122 i: 297 ha.loc[0,'a'] 1258\n",
      "list(a)[0]: 1258 time: 0.02205824851989746 lenp(ha): 0.5604544225047335 rate: 0.046908610484444085 i: 298 ha.loc[0,'a'] 3388\n",
      "list(a)[0]: 3388 time: 0.016043901443481445 lenp(ha): 0.5601839329185826 rate: 0.04690384092567597 i: 299 ha.loc[0,'a'] 5439\n",
      "list(a)[0]: 5439 time: 0.3485407829284668 lenp(ha): 0.5596429537462808 rate: 0.046603358723284506 i: 300 ha.loc[0,'a'] 7827\n",
      "list(a)[0]: 7827 time: 0.015598535537719727 lenp(ha): 0.5593724641601299 rate: 0.04659858916451639 i: 301 ha.loc[0,'a'] 5383\n",
      "list(a)[0]: 5383 time: 0.015038251876831055 lenp(ha): 0.5591019745739789 rate: 0.04659381960574827 i: 302 ha.loc[0,'a'] 7616\n",
      "list(a)[0]: 7616 time: 0.016147851943969727 lenp(ha): 0.558831484987828 rate: 0.046589050046980156 i: 303 ha.loc[0,'a'] 3993\n",
      "list(a)[0]: 3993 time: 0.022091150283813477 lenp(ha): 0.558560995401677 rate: 0.04658428048821203 i: 304 ha.loc[0,'a'] 6656\n",
      "list(a)[0]: 6656 time: 0.016041278839111328 lenp(ha): 0.5582905058155261 rate: 0.046579510929443915 i: 305 ha.loc[0,'a'] 5499\n",
      "list(a)[0]: 5499 time: 0.018552780151367188 lenp(ha): 0.5580200162293751 rate: 0.0465747413706758 i: 306 ha.loc[0,'a'] 250\n",
      "list(a)[0]: 250 time: 0.016042709350585938 lenp(ha): 0.5577495266432242 rate: 0.04656997181190768 i: 307 ha.loc[0,'a'] 5078\n",
      "list(a)[0]: 5078 time: 0.015038728713989258 lenp(ha): 0.5574790370570734 rate: 0.046565202253139565 i: 308 ha.loc[0,'a'] 6198\n",
      "list(a)[0]: 6198 time: 0.01507425308227539 lenp(ha): 0.5572085474709224 rate: 0.04656043269437144 i: 309 ha.loc[0,'a'] 1017\n",
      "list(a)[0]: 1017 time: 0.12831640243530273 lenp(ha): 0.5566675682986205 rate: 0.0465222762242265 i: 310 ha.loc[0,'a'] 3417\n",
      "list(a)[0]: 3417 time: 0.015069007873535156 lenp(ha): 0.5563970787124696 rate: 0.046517506665458376 i: 311 ha.loc[0,'a'] 1701\n",
      "list(a)[0]: 1701 time: 0.01607036590576172 lenp(ha): 0.5561265891263186 rate: 0.04651273710669026 i: 312 ha.loc[0,'a'] 384\n",
      "list(a)[0]: 384 time: 0.01506948471069336 lenp(ha): 0.5558560995401677 rate: 0.04650796754792214 i: 313 ha.loc[0,'a'] 2539\n",
      "list(a)[0]: 2539 time: 0.02203679084777832 lenp(ha): 0.5555856099540167 rate: 0.046503197989154026 i: 314 ha.loc[0,'a'] 5972\n",
      "list(a)[0]: 5972 time: 0.018048524856567383 lenp(ha): 0.5553151203678658 rate: 0.0464984284303859 i: 315 ha.loc[0,'a'] 1425\n",
      "list(a)[0]: 1425 time: 0.016068458557128906 lenp(ha): 0.555044630781715 rate: 0.046493658871617785 i: 316 ha.loc[0,'a'] 6102\n",
      "list(a)[0]: 6102 time: 0.022064924240112305 lenp(ha): 0.554774141195564 rate: 0.04648888931284967 i: 317 ha.loc[0,'a'] 2145\n",
      "list(a)[0]: 2145 time: 0.015038251876831055 lenp(ha): 0.5545036516094131 rate: 0.04648411975408155 i: 318 ha.loc[0,'a'] 84\n",
      "list(a)[0]: 84 time: 0.015039682388305664 lenp(ha): 0.5542331620232621 rate: 0.046479350195313435 i: 319 ha.loc[0,'a'] 5551\n",
      "list(a)[0]: 5551 time: 0.015066146850585938 lenp(ha): 0.5539626724371112 rate: 0.04647458063654531 i: 320 ha.loc[0,'a'] 341\n",
      "list(a)[0]: 341 time: 0.018051624298095703 lenp(ha): 0.5536921828509602 rate: 0.046469811077777194 i: 321 ha.loc[0,'a'] 761\n",
      "list(a)[0]: 761 time: 0.016072511672973633 lenp(ha): 0.5534216932648093 rate: 0.04646504151900908 i: 322 ha.loc[0,'a'] 8604\n",
      "list(a)[0]: 8604 time: 0.0160675048828125 lenp(ha): 0.5531512036786583 rate: 0.04646027196024096 i: 323 ha.loc[0,'a'] 2561\n",
      "list(a)[0]: 2561 time: 0.015913724899291992 lenp(ha): 0.5528807140925074 rate: 0.04645550240147284 i: 324 ha.loc[0,'a'] 3496\n",
      "list(a)[0]: 3496 time: 0.018552303314208984 lenp(ha): 0.5526102245063566 rate: 0.04645073284270472 i: 325 ha.loc[0,'a'] 919\n",
      "list(a)[0]: 919 time: 0.014037847518920898 lenp(ha): 0.5523397349202056 rate: 0.0464459632839366 i: 326 ha.loc[0,'a'] 6301\n",
      "list(a)[0]: 6301 time: 0.014538764953613281 lenp(ha): 0.5520692453340547 rate: 0.046441193725168486 i: 327 ha.loc[0,'a'] 2771\n",
      "list(a)[0]: 2771 time: 0.02105426788330078 lenp(ha): 0.5517987557479037 rate: 0.04643642416640037 i: 328 ha.loc[0,'a'] 7068\n",
      "list(a)[0]: 7068 time: 0.017046689987182617 lenp(ha): 0.5515282661617528 rate: 0.046431654607632246 i: 329 ha.loc[0,'a'] 765\n",
      "list(a)[0]: 765 time: 0.016045570373535156 lenp(ha): 0.5512577765756018 rate: 0.04642688504886413 i: 330 ha.loc[0,'a'] 3310\n",
      "list(a)[0]: 3310 time: 0.02005147933959961 lenp(ha): 0.5509872869894509 rate: 0.04642211549009601 i: 331 ha.loc[0,'a'] 4934\n",
      "list(a)[0]: 4934 time: 0.021055221557617188 lenp(ha): 0.5507167974032999 rate: 0.046417345931327895 i: 332 ha.loc[0,'a'] 6816\n",
      "list(a)[0]: 6816 time: 0.015518426895141602 lenp(ha): 0.5504463078171491 rate: 0.04641257637255977 i: 333 ha.loc[0,'a'] 5673\n",
      "list(a)[0]: 5673 time: 0.01804804801940918 lenp(ha): 0.5501758182309981 rate: 0.046407806813791655 i: 334 ha.loc[0,'a'] 8303\n",
      "list(a)[0]: 8303 time: 0.014031648635864258 lenp(ha): 0.5499053286448472 rate: 0.04640303725502354 i: 335 ha.loc[0,'a'] 2841\n",
      "list(a)[0]: 2841 time: 0.015037059783935547 lenp(ha): 0.5496348390586963 rate: 0.04639826769625542 i: 336 ha.loc[0,'a'] 3313\n",
      "list(a)[0]: 3313 time: 0.016043663024902344 lenp(ha): 0.5493643494725453 rate: 0.0463934981374873 i: 337 ha.loc[0,'a'] 5482\n",
      "list(a)[0]: 5482 time: 0.01711559295654297 lenp(ha): 0.5490938598863944 rate: 0.04638872857871918 i: 338 ha.loc[0,'a'] 8200\n",
      "list(a)[0]: 8200 time: 0.015039205551147461 lenp(ha): 0.5488233703002434 rate: 0.046383959019951064 i: 339 ha.loc[0,'a'] 3966\n",
      "list(a)[0]: 3966 time: 0.014541864395141602 lenp(ha): 0.5485528807140925 rate: 0.04637918946118295 i: 340 ha.loc[0,'a'] 6369\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 6369 time: 0.017046213150024414 lenp(ha): 0.5482823911279415 rate: 0.04637441990241483 i: 341 ha.loc[0,'a'] 5100\n",
      "list(a)[0]: 5100 time: 0.016043424606323242 lenp(ha): 0.5480119015417907 rate: 0.04636965034364671 i: 342 ha.loc[0,'a'] 8544\n",
      "list(a)[0]: 8544 time: 0.015548467636108398 lenp(ha): 0.5477414119556397 rate: 0.04636488078487859 i: 343 ha.loc[0,'a'] 2996\n",
      "list(a)[0]: 2996 time: 0.015066385269165039 lenp(ha): 0.5474709223694888 rate: 0.04636011122611047 i: 344 ha.loc[0,'a'] 8571\n",
      "list(a)[0]: 8571 time: 0.014676094055175781 lenp(ha): 0.5472004327833379 rate: 0.046355341667342356 i: 345 ha.loc[0,'a'] 5243\n",
      "list(a)[0]: 5243 time: 0.01704692840576172 lenp(ha): 0.5469299431971869 rate: 0.04635057210857423 i: 346 ha.loc[0,'a'] 6848\n",
      "list(a)[0]: 6848 time: 0.01604318618774414 lenp(ha): 0.546659453611036 rate: 0.046345802549806116 i: 347 ha.loc[0,'a'] 2904\n",
      "list(a)[0]: 2904 time: 0.02055668830871582 lenp(ha): 0.546388964024885 rate: 0.046341032991038 i: 348 ha.loc[0,'a'] 8824\n",
      "list(a)[0]: 8824 time: 0.021054744720458984 lenp(ha): 0.5461184744387341 rate: 0.04633626343226988 i: 349 ha.loc[0,'a'] 2853\n",
      "list(a)[0]: 2853 time: 0.02707362174987793 lenp(ha): 0.5458479848525831 rate: 0.046331493873501765 i: 350 ha.loc[0,'a'] 3295\n",
      "list(a)[0]: 3295 time: 0.01604461669921875 lenp(ha): 0.5455774952664323 rate: 0.04632672431473364 i: 351 ha.loc[0,'a'] 4495\n",
      "list(a)[0]: 4495 time: 0.02105545997619629 lenp(ha): 0.5453070056802813 rate: 0.046321954755965525 i: 352 ha.loc[0,'a'] 1927\n",
      "list(a)[0]: 1927 time: 0.01905059814453125 lenp(ha): 0.5450365160941304 rate: 0.04631718519719741 i: 353 ha.loc[0,'a'] 3928\n",
      "list(a)[0]: 3928 time: 0.014542102813720703 lenp(ha): 0.5447660265079795 rate: 0.04631241563842929 i: 354 ha.loc[0,'a'] 359\n",
      "list(a)[0]: 359 time: 0.0170443058013916 lenp(ha): 0.5444955369218285 rate: 0.04630764607966117 i: 355 ha.loc[0,'a'] 5056\n",
      "list(a)[0]: 5056 time: 0.01905035972595215 lenp(ha): 0.5442250473356776 rate: 0.04630287652089305 i: 356 ha.loc[0,'a'] 8279\n",
      "list(a)[0]: 8279 time: 0.014539957046508789 lenp(ha): 0.5439545577495266 rate: 0.046298106962124934 i: 357 ha.loc[0,'a'] 1267\n",
      "list(a)[0]: 1267 time: 0.017045259475708008 lenp(ha): 0.5436840681633757 rate: 0.04629333740335682 i: 358 ha.loc[0,'a'] 6558\n",
      "list(a)[0]: 6558 time: 0.021055936813354492 lenp(ha): 0.5434135785772248 rate: 0.0462885678445887 i: 359 ha.loc[0,'a'] 1151\n",
      "list(a)[0]: 1151 time: 0.01905536651611328 lenp(ha): 0.5431430889910739 rate: 0.04628379828582058 i: 360 ha.loc[0,'a'] 8525\n",
      "list(a)[0]: 8525 time: 0.015039682388305664 lenp(ha): 0.5428725994049229 rate: 0.04627902872705246 i: 361 ha.loc[0,'a'] 4326\n",
      "list(a)[0]: 4326 time: 0.015091896057128906 lenp(ha): 0.542602109818772 rate: 0.04627425916828434 i: 362 ha.loc[0,'a'] 7741\n",
      "list(a)[0]: 7741 time: 0.017045974731445312 lenp(ha): 0.542331620232621 rate: 0.046269489609516226 i: 363 ha.loc[0,'a'] 2144\n",
      "list(a)[0]: 2144 time: 0.01607346534729004 lenp(ha): 0.5420611306464701 rate: 0.0462647200507481 i: 364 ha.loc[0,'a'] 6813\n",
      "list(a)[0]: 6813 time: 0.022061586380004883 lenp(ha): 0.5417906410603192 rate: 0.046259950491979986 i: 365 ha.loc[0,'a'] 5506\n",
      "list(a)[0]: 5506 time: 0.01901984214782715 lenp(ha): 0.5415201514741682 rate: 0.04625518093321187 i: 366 ha.loc[0,'a'] 7878\n",
      "list(a)[0]: 7878 time: 0.015064716339111328 lenp(ha): 0.5412496618880173 rate: 0.04625041137444375 i: 367 ha.loc[0,'a'] 4931\n",
      "list(a)[0]: 4931 time: 0.015545845031738281 lenp(ha): 0.5409791723018664 rate: 0.046245641815675635 i: 368 ha.loc[0,'a'] 53\n",
      "list(a)[0]: 53 time: 0.016041994094848633 lenp(ha): 0.5407086827157155 rate: 0.04624087225690751 i: 369 ha.loc[0,'a'] 3107\n",
      "list(a)[0]: 3107 time: 0.01500844955444336 lenp(ha): 0.5404381931295645 rate: 0.046236102698139395 i: 370 ha.loc[0,'a'] 183\n",
      "list(a)[0]: 183 time: 0.021561861038208008 lenp(ha): 0.5401677035434136 rate: 0.04623133313937128 i: 371 ha.loc[0,'a'] 2086\n",
      "list(a)[0]: 2086 time: 0.021055221557617188 lenp(ha): 0.5398972139572626 rate: 0.04622656358060316 i: 372 ha.loc[0,'a'] 8281\n",
      "list(a)[0]: 8281 time: 0.015039443969726562 lenp(ha): 0.5396267243711117 rate: 0.04622179402183504 i: 373 ha.loc[0,'a'] 3998\n",
      "list(a)[0]: 3998 time: 0.015047311782836914 lenp(ha): 0.5393562347849608 rate: 0.04621702446306692 i: 374 ha.loc[0,'a'] 3728\n",
      "list(a)[0]: 3728 time: 0.015040159225463867 lenp(ha): 0.5390857451988098 rate: 0.046212254904298804 i: 375 ha.loc[0,'a'] 2823\n",
      "list(a)[0]: 2823 time: 0.01760387420654297 lenp(ha): 0.5388152556126589 rate: 0.04620748534553069 i: 376 ha.loc[0,'a'] 7806\n",
      "list(a)[0]: 7806 time: 0.016045331954956055 lenp(ha): 0.538544766026508 rate: 0.04620271578676256 i: 377 ha.loc[0,'a'] 4801\n",
      "list(a)[0]: 4801 time: 0.014037132263183594 lenp(ha): 0.5382742764403571 rate: 0.046197946227994446 i: 378 ha.loc[0,'a'] 3429\n",
      "list(a)[0]: 3429 time: 0.0190579891204834 lenp(ha): 0.5380037868542061 rate: 0.04619317666922633 i: 379 ha.loc[0,'a'] 1442\n",
      "list(a)[0]: 1442 time: 0.01503896713256836 lenp(ha): 0.5377332972680552 rate: 0.04618840711045821 i: 380 ha.loc[0,'a'] 3502\n",
      "list(a)[0]: 3502 time: 0.014035463333129883 lenp(ha): 0.5374628076819042 rate: 0.046183637551690096 i: 381 ha.loc[0,'a'] 3184\n",
      "list(a)[0]: 3184 time: 0.01905202865600586 lenp(ha): 0.5371923180957533 rate: 0.04617886799292197 i: 382 ha.loc[0,'a'] 7848\n",
      "list(a)[0]: 7848 time: 0.01604294776916504 lenp(ha): 0.5369218285096024 rate: 0.046174098434153855 i: 383 ha.loc[0,'a'] 4310\n",
      "list(a)[0]: 4310 time: 0.016548633575439453 lenp(ha): 0.5366513389234514 rate: 0.04616932887538574 i: 384 ha.loc[0,'a'] 8255\n",
      "list(a)[0]: 8255 time: 0.015073776245117188 lenp(ha): 0.5363808493373006 rate: 0.04616455931661762 i: 385 ha.loc[0,'a'] 5345\n",
      "list(a)[0]: 5345 time: 0.01506495475769043 lenp(ha): 0.5361103597511496 rate: 0.0461597897578495 i: 386 ha.loc[0,'a'] 7930\n",
      "list(a)[0]: 7930 time: 0.01610088348388672 lenp(ha): 0.5358398701649987 rate: 0.04615502019908138 i: 387 ha.loc[0,'a'] 2955\n",
      "list(a)[0]: 2955 time: 0.014036893844604492 lenp(ha): 0.5355693805788477 rate: 0.046150250640313265 i: 388 ha.loc[0,'a'] 7060\n",
      "list(a)[0]: 7060 time: 0.014095067977905273 lenp(ha): 0.5352988909926968 rate: 0.04614548108154515 i: 389 ha.loc[0,'a'] 3935\n",
      "list(a)[0]: 3935 time: 0.021055221557617188 lenp(ha): 0.5350284014065458 rate: 0.04614071152277703 i: 390 ha.loc[0,'a'] 8148\n",
      "list(a)[0]: 8148 time: 0.014037847518920898 lenp(ha): 0.5347579118203949 rate: 0.04613594196400891 i: 391 ha.loc[0,'a'] 5374\n",
      "list(a)[0]: 5374 time: 0.016049623489379883 lenp(ha): 0.534487422234244 rate: 0.04613117240524079 i: 392 ha.loc[0,'a'] 8119\n",
      "list(a)[0]: 8119 time: 0.01905059814453125 lenp(ha): 0.534216932648093 rate: 0.046126402846472674 i: 393 ha.loc[0,'a'] 1002\n",
      "list(a)[0]: 1002 time: 0.018047809600830078 lenp(ha): 0.5339464430619422 rate: 0.04612163328770456 i: 394 ha.loc[0,'a'] 1794\n",
      "list(a)[0]: 1794 time: 0.016548871994018555 lenp(ha): 0.5336759534757912 rate: 0.04611686372893643 i: 395 ha.loc[0,'a'] 4241\n",
      "list(a)[0]: 4241 time: 0.015039443969726562 lenp(ha): 0.5334054638896403 rate: 0.046112094170168316 i: 396 ha.loc[0,'a'] 7905\n",
      "list(a)[0]: 7905 time: 0.01967334747314453 lenp(ha): 0.5331349743034893 rate: 0.0461073246114002 i: 397 ha.loc[0,'a'] 853\n",
      "list(a)[0]: 853 time: 0.017045974731445312 lenp(ha): 0.5328644847173384 rate: 0.04610255505263208 i: 398 ha.loc[0,'a'] 671\n",
      "list(a)[0]: 671 time: 0.014037609100341797 lenp(ha): 0.5325939951311874 rate: 0.046097785493863966 i: 399 ha.loc[0,'a'] 4551\n",
      "list(a)[0]: 4551 time: 0.01556849479675293 lenp(ha): 0.5323235055450365 rate: 0.04609301593509584 i: 400 ha.loc[0,'a'] 6241\n",
      "list(a)[0]: 6241 time: 0.01604461669921875 lenp(ha): 0.5320530159588855 rate: 0.046088246376327725 i: 401 ha.loc[0,'a'] 5435\n",
      "list(a)[0]: 5435 time: 0.015038728713989258 lenp(ha): 0.5317825263727346 rate: 0.04608347681755961 i: 402 ha.loc[0,'a'] 3425\n",
      "list(a)[0]: 3425 time: 0.01607203483581543 lenp(ha): 0.5315120367865838 rate: 0.04607870725879149 i: 403 ha.loc[0,'a'] 4704\n",
      "list(a)[0]: 4704 time: 0.022057771682739258 lenp(ha): 0.5312415472004328 rate: 0.04607393770002337 i: 404 ha.loc[0,'a'] 6350\n",
      "list(a)[0]: 6350 time: 0.015042304992675781 lenp(ha): 0.5309710576142819 rate: 0.04606916814125525 i: 405 ha.loc[0,'a'] 956\n",
      "list(a)[0]: 956 time: 0.023564577102661133 lenp(ha): 0.5307005680281309 rate: 0.046064398582487134 i: 406 ha.loc[0,'a'] 6410\n",
      "list(a)[0]: 6410 time: 0.022058963775634766 lenp(ha): 0.53043007844198 rate: 0.04605962902371902 i: 407 ha.loc[0,'a'] 5297\n",
      "list(a)[0]: 5297 time: 0.015042304992675781 lenp(ha): 0.530159588855829 rate: 0.0460548594649509 i: 408 ha.loc[0,'a'] 6700\n",
      "list(a)[0]: 6700 time: 0.01604151725769043 lenp(ha): 0.5298890992696781 rate: 0.04605008990618278 i: 409 ha.loc[0,'a'] 2032\n",
      "list(a)[0]: 2032 time: 0.015037775039672852 lenp(ha): 0.5296186096835271 rate: 0.04604532034741466 i: 410 ha.loc[0,'a'] 215\n",
      "list(a)[0]: 215 time: 0.016045331954956055 lenp(ha): 0.5293481200973762 rate: 0.04604055078864654 i: 411 ha.loc[0,'a'] 2488\n",
      "list(a)[0]: 2488 time: 0.0170440673828125 lenp(ha): 0.5290776305112254 rate: 0.04603578122987843 i: 412 ha.loc[0,'a'] 375\n",
      "list(a)[0]: 375 time: 0.014037132263183594 lenp(ha): 0.5288071409250744 rate: 0.0460310116711103 i: 413 ha.loc[0,'a'] 4247\n",
      "list(a)[0]: 4247 time: 0.016079425811767578 lenp(ha): 0.5285366513389235 rate: 0.046026242112342186 i: 414 ha.loc[0,'a'] 193\n",
      "list(a)[0]: 193 time: 0.01905035972595215 lenp(ha): 0.5282661617527725 rate: 0.04602147255357407 i: 415 ha.loc[0,'a'] 1557\n",
      "list(a)[0]: 1557 time: 0.014037370681762695 lenp(ha): 0.5279956721666216 rate: 0.04601670299480595 i: 416 ha.loc[0,'a'] 3712\n",
      "list(a)[0]: 3712 time: 0.01708531379699707 lenp(ha): 0.5277251825804706 rate: 0.04601193343603783 i: 417 ha.loc[0,'a'] 2946\n",
      "list(a)[0]: 2946 time: 0.020053863525390625 lenp(ha): 0.5274546929943197 rate: 0.04600716387726971 i: 418 ha.loc[0,'a'] 5828\n",
      "list(a)[0]: 5828 time: 0.018047332763671875 lenp(ha): 0.5271842034081687 rate: 0.046002394318501595 i: 419 ha.loc[0,'a'] 1353\n",
      "list(a)[0]: 1353 time: 0.014540910720825195 lenp(ha): 0.5269137138220179 rate: 0.04599762475973348 i: 420 ha.loc[0,'a'] 8011\n",
      "list(a)[0]: 8011 time: 0.014037609100341797 lenp(ha): 0.526643224235867 rate: 0.04599285520096536 i: 421 ha.loc[0,'a'] 5061\n",
      "list(a)[0]: 5061 time: 0.01604294776916504 lenp(ha): 0.526372734649716 rate: 0.04598808564219724 i: 422 ha.loc[0,'a'] 7443\n",
      "list(a)[0]: 7443 time: 0.020561933517456055 lenp(ha): 0.5261022450635651 rate: 0.04598331608342912 i: 423 ha.loc[0,'a'] 2192\n",
      "list(a)[0]: 2192 time: 0.015038013458251953 lenp(ha): 0.5258317554774141 rate: 0.045978546524661004 i: 424 ha.loc[0,'a'] 8780\n",
      "list(a)[0]: 8780 time: 0.01504206657409668 lenp(ha): 0.5255612658912632 rate: 0.04597377696589289 i: 425 ha.loc[0,'a'] 4864\n",
      "list(a)[0]: 4864 time: 0.014036178588867188 lenp(ha): 0.5252907763051122 rate: 0.045969007407124764 i: 426 ha.loc[0,'a'] 7037\n",
      "list(a)[0]: 7037 time: 0.14037775993347168 lenp(ha): 0.5247497971328103 rate: 0.045916542260675465 i: 427 ha.loc[0,'a'] 4174\n",
      "list(a)[0]: 4174 time: 0.06316900253295898 lenp(ha): 0.5242088179605086 rate: 0.04590223358437111 i: 428 ha.loc[0,'a'] 7055\n",
      "list(a)[0]: 7055 time: 0.016042709350585938 lenp(ha): 0.5239383283743576 rate: 0.04589746402560299 i: 429 ha.loc[0,'a'] 5231\n",
      "list(a)[0]: 5231 time: 0.018049955368041992 lenp(ha): 0.5236678387882067 rate: 0.045892694466834874 i: 430 ha.loc[0,'a'] 6557\n",
      "list(a)[0]: 6557 time: 0.023061752319335938 lenp(ha): 0.5233973492020557 rate: 0.04588792490806676 i: 431 ha.loc[0,'a'] 3070\n",
      "list(a)[0]: 3070 time: 0.015039443969726562 lenp(ha): 0.5231268596159048 rate: 0.045883155349298634 i: 432 ha.loc[0,'a'] 8049\n",
      "list(a)[0]: 8049 time: 0.018047571182250977 lenp(ha): 0.5228563700297538 rate: 0.04587838579053052 i: 433 ha.loc[0,'a'] 3946\n",
      "list(a)[0]: 3946 time: 0.01604175567626953 lenp(ha): 0.5225858804436029 rate: 0.0458736162317624 i: 434 ha.loc[0,'a'] 6842\n",
      "list(a)[0]: 6842 time: 0.016546010971069336 lenp(ha): 0.5223153908574519 rate: 0.04586884667299428 i: 435 ha.loc[0,'a'] 4647\n",
      "list(a)[0]: 4647 time: 0.015039443969726562 lenp(ha): 0.5220449012713011 rate: 0.045864077114226166 i: 436 ha.loc[0,'a'] 7240\n",
      "list(a)[0]: 7240 time: 0.01704549789428711 lenp(ha): 0.5217744116851502 rate: 0.04585930755545804 i: 437 ha.loc[0,'a'] 947\n",
      "list(a)[0]: 947 time: 0.021060466766357422 lenp(ha): 0.5215039220989992 rate: 0.045854537996689926 i: 438 ha.loc[0,'a'] 8562\n",
      "list(a)[0]: 8562 time: 0.0160372257232666 lenp(ha): 0.5212334325128483 rate: 0.04584976843792181 i: 439 ha.loc[0,'a'] 2014\n",
      "list(a)[0]: 2014 time: 0.01657557487487793 lenp(ha): 0.5209629429266973 rate: 0.04584499887915369 i: 440 ha.loc[0,'a'] 5911\n",
      "list(a)[0]: 5911 time: 0.016047954559326172 lenp(ha): 0.5206924533405464 rate: 0.04584022932038557 i: 441 ha.loc[0,'a'] 1963\n",
      "list(a)[0]: 1963 time: 0.021056652069091797 lenp(ha): 0.5204219637543954 rate: 0.04583545976161745 i: 442 ha.loc[0,'a'] 7659\n",
      "list(a)[0]: 7659 time: 0.014540433883666992 lenp(ha): 0.5201514741682445 rate: 0.045830690202849335 i: 443 ha.loc[0,'a'] 4204\n",
      "list(a)[0]: 4204 time: 0.019050121307373047 lenp(ha): 0.5198809845820936 rate: 0.04582592064408122 i: 444 ha.loc[0,'a'] 622\n",
      "list(a)[0]: 622 time: 0.028075218200683594 lenp(ha): 0.5196104949959427 rate: 0.045821151085313094 i: 445 ha.loc[0,'a'] 890\n",
      "list(a)[0]: 890 time: 0.014746904373168945 lenp(ha): 0.5193400054097917 rate: 0.04581638152654498 i: 446 ha.loc[0,'a'] 43\n",
      "list(a)[0]: 43 time: 0.015039920806884766 lenp(ha): 0.5190695158236408 rate: 0.04581161196777686 i: 447 ha.loc[0,'a'] 2888\n",
      "list(a)[0]: 2888 time: 0.01503896713256836 lenp(ha): 0.5187990262374899 rate: 0.045806842409008744 i: 448 ha.loc[0,'a'] 539\n",
      "list(a)[0]: 539 time: 0.01705622673034668 lenp(ha): 0.5185285366513389 rate: 0.04580207285024063 i: 449 ha.loc[0,'a'] 2842\n",
      "list(a)[0]: 2842 time: 0.01604294776916504 lenp(ha): 0.518258047065188 rate: 0.0457973032914725 i: 450 ha.loc[0,'a'] 3530\n",
      "list(a)[0]: 3530 time: 0.015105009078979492 lenp(ha): 0.517987557479037 rate: 0.04579253373270439 i: 451 ha.loc[0,'a'] 2506\n",
      "list(a)[0]: 2506 time: 0.02005314826965332 lenp(ha): 0.5177170678928861 rate: 0.04578776417393627 i: 452 ha.loc[0,'a'] 1926\n",
      "list(a)[0]: 1926 time: 0.3168642520904541 lenp(ha): 0.5171760887205843 rate: 0.045573134029370944 i: 453 ha.loc[0,'a'] 3157\n",
      "list(a)[0]: 3157 time: 0.01554560661315918 lenp(ha): 0.5169055991344333 rate: 0.04556836447060283 i: 454 ha.loc[0,'a'] 630\n",
      "list(a)[0]: 630 time: 0.018047809600830078 lenp(ha): 0.5166351095482824 rate: 0.045563594911834704 i: 455 ha.loc[0,'a'] 768\n",
      "list(a)[0]: 768 time: 0.014036893844604492 lenp(ha): 0.5163646199621315 rate: 0.04555882535306659 i: 456 ha.loc[0,'a'] 1573\n",
      "list(a)[0]: 1573 time: 0.015044212341308594 lenp(ha): 0.5160941303759805 rate: 0.04555405579429847 i: 457 ha.loc[0,'a'] 2190\n",
      "list(a)[0]: 2190 time: 0.015040159225463867 lenp(ha): 0.5158236407898296 rate: 0.045549286235530353 i: 458 ha.loc[0,'a'] 1594\n",
      "list(a)[0]: 1594 time: 0.017046689987182617 lenp(ha): 0.5155531512036786 rate: 0.04554451667676223 i: 459 ha.loc[0,'a'] 5182\n",
      "list(a)[0]: 5182 time: 0.01905512809753418 lenp(ha): 0.5152826616175277 rate: 0.04553974711799411 i: 460 ha.loc[0,'a'] 6365\n",
      "list(a)[0]: 6365 time: 0.016041278839111328 lenp(ha): 0.5150121720313768 rate: 0.045534977559225996 i: 461 ha.loc[0,'a'] 5664\n",
      "list(a)[0]: 5664 time: 0.01403665542602539 lenp(ha): 0.5147416824452259 rate: 0.04553020800045788 i: 462 ha.loc[0,'a'] 6524\n",
      "list(a)[0]: 6524 time: 0.019554615020751953 lenp(ha): 0.5144711928590749 rate: 0.04552543844168976 i: 463 ha.loc[0,'a'] 3972\n",
      "list(a)[0]: 3972 time: 0.014037132263183594 lenp(ha): 0.514200703272924 rate: 0.04552066888292164 i: 464 ha.loc[0,'a'] 7264\n",
      "list(a)[0]: 7264 time: 0.014036893844604492 lenp(ha): 0.513930213686773 rate: 0.04551589932415352 i: 465 ha.loc[0,'a'] 3199\n",
      "list(a)[0]: 3199 time: 0.05464935302734375 lenp(ha): 0.5133892345144712 rate: 0.045501590647849165 i: 466 ha.loc[0,'a'] 8285\n",
      "list(a)[0]: 8285 time: 0.015041828155517578 lenp(ha): 0.5131187449283202 rate: 0.04549682108908105 i: 467 ha.loc[0,'a'] 4935\n",
      "list(a)[0]: 4935 time: 0.016040325164794922 lenp(ha): 0.5128482553421694 rate: 0.04549205153031293 i: 468 ha.loc[0,'a'] 8261\n",
      "list(a)[0]: 8261 time: 0.02205967903137207 lenp(ha): 0.5125777657560184 rate: 0.045487281971544814 i: 469 ha.loc[0,'a'] 1549\n",
      "list(a)[0]: 1549 time: 0.015513420104980469 lenp(ha): 0.5123072761698675 rate: 0.0454825124127767 i: 470 ha.loc[0,'a'] 567\n",
      "list(a)[0]: 567 time: 0.08222436904907227 lenp(ha): 0.5117662969975656 rate: 0.0454586646189361 i: 471 ha.loc[0,'a'] 5118\n",
      "list(a)[0]: 5118 time: 0.016546964645385742 lenp(ha): 0.5114958074114146 rate: 0.04545389506016798 i: 472 ha.loc[0,'a'] 595\n",
      "list(a)[0]: 595 time: 0.018078088760375977 lenp(ha): 0.5112253178252637 rate: 0.045449125501399866 i: 473 ha.loc[0,'a'] 3092\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3092 time: 0.014542341232299805 lenp(ha): 0.5109548282391128 rate: 0.04544435594263175 i: 474 ha.loc[0,'a'] 1741\n",
      "list(a)[0]: 1741 time: 0.022057771682739258 lenp(ha): 0.5106843386529618 rate: 0.045439586383863625 i: 475 ha.loc[0,'a'] 1028\n",
      "list(a)[0]: 1028 time: 0.016043663024902344 lenp(ha): 0.510413849066811 rate: 0.04543481682509551 i: 476 ha.loc[0,'a'] 623\n",
      "list(a)[0]: 623 time: 0.01654791831970215 lenp(ha): 0.51014335948066 rate: 0.04543004726632739 i: 477 ha.loc[0,'a'] 2071\n",
      "list(a)[0]: 2071 time: 0.021055221557617188 lenp(ha): 0.5098728698945091 rate: 0.045425277707559275 i: 478 ha.loc[0,'a'] 7907\n",
      "list(a)[0]: 7907 time: 0.015039443969726562 lenp(ha): 0.5096023803083581 rate: 0.04542050814879116 i: 479 ha.loc[0,'a'] 5070\n",
      "list(a)[0]: 5070 time: 0.01757502555847168 lenp(ha): 0.5093318907222072 rate: 0.045415738590023035 i: 480 ha.loc[0,'a'] 73\n",
      "list(a)[0]: 73 time: 0.015071630477905273 lenp(ha): 0.5090614011360562 rate: 0.04541096903125492 i: 481 ha.loc[0,'a'] 1529\n",
      "list(a)[0]: 1529 time: 0.020084619522094727 lenp(ha): 0.5087909115499053 rate: 0.0454061994724868 i: 482 ha.loc[0,'a'] 7276\n",
      "list(a)[0]: 7276 time: 0.017048358917236328 lenp(ha): 0.5085204219637544 rate: 0.045401429913718684 i: 483 ha.loc[0,'a'] 1216\n",
      "list(a)[0]: 1216 time: 0.0170440673828125 lenp(ha): 0.5082499323776034 rate: 0.04539666035495056 i: 484 ha.loc[0,'a'] 8301\n",
      "list(a)[0]: 8301 time: 0.017074108123779297 lenp(ha): 0.5079794427914526 rate: 0.045391890796182444 i: 485 ha.loc[0,'a'] 3034\n",
      "list(a)[0]: 3034 time: 0.01607370376586914 lenp(ha): 0.5077089532053016 rate: 0.04538712123741433 i: 486 ha.loc[0,'a'] 127\n",
      "list(a)[0]: 127 time: 0.01804947853088379 lenp(ha): 0.5074384636191507 rate: 0.04538235167864621 i: 487 ha.loc[0,'a'] 762\n",
      "list(a)[0]: 762 time: 0.014539957046508789 lenp(ha): 0.5071679740329997 rate: 0.04537758211987809 i: 488 ha.loc[0,'a'] 8043\n",
      "list(a)[0]: 8043 time: 0.0240631103515625 lenp(ha): 0.5068974844468488 rate: 0.04537281256110997 i: 489 ha.loc[0,'a'] 2541\n",
      "list(a)[0]: 2541 time: 0.018047809600830078 lenp(ha): 0.5066269948606978 rate: 0.04536804300234185 i: 490 ha.loc[0,'a'] 7144\n",
      "list(a)[0]: 7144 time: 0.01512289047241211 lenp(ha): 0.5063565052745469 rate: 0.045363273443573736 i: 491 ha.loc[0,'a'] 3014\n",
      "list(a)[0]: 3014 time: 0.022058963775634766 lenp(ha): 0.506086015688396 rate: 0.04535850388480562 i: 492 ha.loc[0,'a'] 8789\n",
      "list(a)[0]: 8789 time: 0.016042470932006836 lenp(ha): 0.5058155261022451 rate: 0.045353734326037495 i: 493 ha.loc[0,'a'] 4598\n",
      "list(a)[0]: 4598 time: 0.015543699264526367 lenp(ha): 0.5055450365160942 rate: 0.04534896476726938 i: 494 ha.loc[0,'a'] 3664\n",
      "list(a)[0]: 3664 time: 0.017012834548950195 lenp(ha): 0.5052745469299432 rate: 0.04534419520850126 i: 495 ha.loc[0,'a'] 2505\n",
      "list(a)[0]: 2505 time: 0.02005171775817871 lenp(ha): 0.5050040573437923 rate: 0.045339425649733145 i: 496 ha.loc[0,'a'] 6942\n",
      "list(a)[0]: 6942 time: 0.014087200164794922 lenp(ha): 0.5047335677576413 rate: 0.04533465609096503 i: 497 ha.loc[0,'a'] 3937\n",
      "list(a)[0]: 3937 time: 0.015012979507446289 lenp(ha): 0.5044630781714904 rate: 0.045329886532196904 i: 498 ha.loc[0,'a'] 7611\n",
      "list(a)[0]: 7611 time: 0.0200808048248291 lenp(ha): 0.5041925885853394 rate: 0.04532511697342879 i: 499 ha.loc[0,'a'] 2785\n",
      "list(a)[0]: 2785 time: 0.01702094078063965 lenp(ha): 0.5039220989991885 rate: 0.04532034741466067 i: 500 ha.loc[0,'a'] 7328\n",
      "list(a)[0]: 7328 time: 0.01506805419921875 lenp(ha): 0.5036516094130375 rate: 0.045315577855892554 i: 501 ha.loc[0,'a'] 2445\n",
      "list(a)[0]: 2445 time: 0.016040325164794922 lenp(ha): 0.5033811198268867 rate: 0.04531080829712443 i: 502 ha.loc[0,'a'] 7423\n",
      "list(a)[0]: 7423 time: 0.016042232513427734 lenp(ha): 0.5031106302407358 rate: 0.04530603873835631 i: 503 ha.loc[0,'a'] 4231\n",
      "list(a)[0]: 4231 time: 0.015040159225463867 lenp(ha): 0.5028401406545848 rate: 0.0453012691795882 i: 504 ha.loc[0,'a'] 7988\n",
      "list(a)[0]: 7988 time: 0.017049074172973633 lenp(ha): 0.5025696510684339 rate: 0.04529649962082008 i: 505 ha.loc[0,'a'] 4159\n",
      "list(a)[0]: 4159 time: 0.021028518676757812 lenp(ha): 0.5022991614822829 rate: 0.045291730062051956 i: 506 ha.loc[0,'a'] 1818\n",
      "list(a)[0]: 1818 time: 0.014037132263183594 lenp(ha): 0.502028671896132 rate: 0.04528696050328384 i: 507 ha.loc[0,'a'] 2882\n",
      "list(a)[0]: 2882 time: 0.016073226928710938 lenp(ha): 0.501758182309981 rate: 0.04528219094451572 i: 508 ha.loc[0,'a'] 6237\n",
      "list(a)[0]: 6237 time: 0.016042470932006836 lenp(ha): 0.5014876927238301 rate: 0.045277421385747606 i: 509 ha.loc[0,'a'] 5382\n",
      "list(a)[0]: 5382 time: 0.017044782638549805 lenp(ha): 0.5012172031376791 rate: 0.04527265182697949 i: 510 ha.loc[0,'a'] 7383\n",
      "list(a)[0]: 7383 time: 0.015040397644042969 lenp(ha): 0.5009467135515283 rate: 0.045267882268211365 i: 511 ha.loc[0,'a'] 2364\n",
      "list(a)[0]: 2364 time: 0.017045974731445312 lenp(ha): 0.5006762239653774 rate: 0.04526311270944325 i: 512 ha.loc[0,'a'] 5988\n",
      "list(a)[0]: 5988 time: 0.09527349472045898 lenp(ha): 0.5001352447930755 rate: 0.04523449535683454 i: 513 ha.loc[0,'a'] 1605\n",
      "list(a)[0]: 1605 time: 0.017046689987182617 lenp(ha): 0.4998647552069245 rate: 0.045229725798066424 i: 514 ha.loc[0,'a'] 110\n",
      "list(a)[0]: 110 time: 0.02005910873413086 lenp(ha): 0.4995942656207736 rate: 0.0452249562392983 i: 515 ha.loc[0,'a'] 5656\n",
      "list(a)[0]: 5656 time: 0.015041589736938477 lenp(ha): 0.4993237760346227 rate: 0.04522018668053018 i: 516 ha.loc[0,'a'] 6642\n",
      "list(a)[0]: 6642 time: 0.01604175567626953 lenp(ha): 0.49905328644847174 rate: 0.045215417121762067 i: 517 ha.loc[0,'a'] 2807\n",
      "list(a)[0]: 2807 time: 0.01614069938659668 lenp(ha): 0.4987827968623208 rate: 0.04521064756299395 i: 518 ha.loc[0,'a'] 3443\n",
      "list(a)[0]: 3443 time: 0.013538122177124023 lenp(ha): 0.49851230727616985 rate: 0.045205878004225826 i: 519 ha.loc[0,'a'] 751\n",
      "list(a)[0]: 751 time: 0.01403665542602539 lenp(ha): 0.4982418176900189 rate: 0.04520110844545771 i: 520 ha.loc[0,'a'] 8096\n",
      "list(a)[0]: 8096 time: 0.015041589736938477 lenp(ha): 0.497971328103868 rate: 0.04519633888668959 i: 521 ha.loc[0,'a'] 962\n",
      "list(a)[0]: 962 time: 0.019021987915039062 lenp(ha): 0.49770083851771707 rate: 0.045191569327921476 i: 522 ha.loc[0,'a'] 8246\n",
      "list(a)[0]: 8246 time: 0.015009403228759766 lenp(ha): 0.4974303489315661 rate: 0.04518679976915336 i: 523 ha.loc[0,'a'] 2827\n",
      "list(a)[0]: 2827 time: 0.02003169059753418 lenp(ha): 0.4971598593454152 rate: 0.045182030210385235 i: 524 ha.loc[0,'a'] 8331\n",
      "list(a)[0]: 8331 time: 0.021056413650512695 lenp(ha): 0.4968893697592643 rate: 0.04517726065161712 i: 525 ha.loc[0,'a'] 3265\n",
      "list(a)[0]: 3265 time: 0.01704573631286621 lenp(ha): 0.49661888017311334 rate: 0.045172491092849 i: 526 ha.loc[0,'a'] 568\n",
      "list(a)[0]: 568 time: 0.015580415725708008 lenp(ha): 0.4963483905869624 rate: 0.045167721534080885 i: 527 ha.loc[0,'a'] 952\n",
      "list(a)[0]: 952 time: 0.09224891662597656 lenp(ha): 0.49580741141466056 rate: 0.045143873740240294 i: 528 ha.loc[0,'a'] 6047\n",
      "list(a)[0]: 6047 time: 0.018049955368041992 lenp(ha): 0.4955369218285096 rate: 0.04513910418147217 i: 529 ha.loc[0,'a'] 2037\n",
      "list(a)[0]: 2037 time: 0.022058725357055664 lenp(ha): 0.49526643224235867 rate: 0.04513433462270405 i: 530 ha.loc[0,'a'] 8401\n",
      "list(a)[0]: 8401 time: 0.019049644470214844 lenp(ha): 0.4949959426562077 rate: 0.045129565063935936 i: 531 ha.loc[0,'a'] 2602\n",
      "list(a)[0]: 2602 time: 0.01804661750793457 lenp(ha): 0.4947254530700568 rate: 0.04512479550516782 i: 532 ha.loc[0,'a'] 492\n",
      "list(a)[0]: 492 time: 0.021561861038208008 lenp(ha): 0.4944549634839059 rate: 0.045120025946399696 i: 533 ha.loc[0,'a'] 944\n",
      "list(a)[0]: 944 time: 0.01604294776916504 lenp(ha): 0.49418447389775494 rate: 0.04511525638763158 i: 534 ha.loc[0,'a'] 8147\n",
      "list(a)[0]: 8147 time: 0.015040159225463867 lenp(ha): 0.493913984311604 rate: 0.04511048682886346 i: 535 ha.loc[0,'a'] 1075\n",
      "list(a)[0]: 1075 time: 0.01503896713256836 lenp(ha): 0.49364349472545305 rate: 0.045105717270095345 i: 536 ha.loc[0,'a'] 3600\n",
      "list(a)[0]: 3600 time: 0.019079208374023438 lenp(ha): 0.49337300513930216 rate: 0.04510094771132722 i: 537 ha.loc[0,'a'] 4196\n",
      "list(a)[0]: 4196 time: 0.016545534133911133 lenp(ha): 0.4931025155531512 rate: 0.045096178152559105 i: 538 ha.loc[0,'a'] 6646\n",
      "list(a)[0]: 6646 time: 0.019076824188232422 lenp(ha): 0.49283202596700026 rate: 0.04509140859379099 i: 539 ha.loc[0,'a'] 4038\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4038 time: 0.022057533264160156 lenp(ha): 0.4925615363808493 rate: 0.04508663903502287 i: 540 ha.loc[0,'a'] 605\n",
      "list(a)[0]: 605 time: 0.09124493598937988 lenp(ha): 0.4920205572085475 rate: 0.04506279124118228 i: 541 ha.loc[0,'a'] 3996\n",
      "list(a)[0]: 3996 time: 0.01403665542602539 lenp(ha): 0.49175006762239654 rate: 0.04505802168241416 i: 542 ha.loc[0,'a'] 8830\n",
      "list(a)[0]: 8830 time: 0.015542268753051758 lenp(ha): 0.4914795780362456 rate: 0.04505325212364604 i: 543 ha.loc[0,'a'] 1005\n",
      "list(a)[0]: 1005 time: 0.0170443058013916 lenp(ha): 0.49120908845009464 rate: 0.04504848256487792 i: 544 ha.loc[0,'a'] 8139\n",
      "list(a)[0]: 8139 time: 0.016042470932006836 lenp(ha): 0.49093859886394375 rate: 0.045043713006109806 i: 545 ha.loc[0,'a'] 5277\n",
      "list(a)[0]: 5277 time: 0.015544652938842773 lenp(ha): 0.4906681092777928 rate: 0.04503894344734169 i: 546 ha.loc[0,'a'] 7187\n",
      "list(a)[0]: 7187 time: 0.018072843551635742 lenp(ha): 0.49039761969164186 rate: 0.045034173888573566 i: 547 ha.loc[0,'a'] 752\n",
      "list(a)[0]: 752 time: 0.015041828155517578 lenp(ha): 0.4901271301054909 rate: 0.04502940432980545 i: 548 ha.loc[0,'a'] 3687\n",
      "list(a)[0]: 3687 time: 0.016042232513427734 lenp(ha): 0.48985664051934 rate: 0.04502463477103733 i: 549 ha.loc[0,'a'] 5540\n",
      "list(a)[0]: 5540 time: 0.02205967903137207 lenp(ha): 0.4895861509331891 rate: 0.045019865212269215 i: 550 ha.loc[0,'a'] 7283\n",
      "list(a)[0]: 7283 time: 0.17046570777893066 lenp(ha): 0.4887746821747363 rate: 0.044957860948283676 i: 551 ha.loc[0,'a'] 5406\n",
      "list(a)[0]: 5406 time: 0.01905035972595215 lenp(ha): 0.48850419258858535 rate: 0.04495309138951556 i: 552 ha.loc[0,'a'] 8457\n",
      "list(a)[0]: 8457 time: 0.015042781829833984 lenp(ha): 0.4882337030024344 rate: 0.044948321830747436 i: 553 ha.loc[0,'a'] 2722\n",
      "list(a)[0]: 2722 time: 0.01604008674621582 lenp(ha): 0.48796321341628346 rate: 0.04494355227197932 i: 554 ha.loc[0,'a'] 8110\n",
      "list(a)[0]: 8110 time: 0.01604747772216797 lenp(ha): 0.4876927238301325 rate: 0.0449387827132112 i: 555 ha.loc[0,'a'] 3225\n",
      "list(a)[0]: 3225 time: 0.015037775039672852 lenp(ha): 0.4874222342439816 rate: 0.044934013154443085 i: 556 ha.loc[0,'a'] 196\n",
      "list(a)[0]: 196 time: 0.015039443969726562 lenp(ha): 0.4871517446578307 rate: 0.04492924359567496 i: 557 ha.loc[0,'a'] 1089\n",
      "list(a)[0]: 1089 time: 0.021559715270996094 lenp(ha): 0.48688125507167973 rate: 0.044924474036906845 i: 558 ha.loc[0,'a'] 3690\n",
      "list(a)[0]: 3690 time: 0.015040159225463867 lenp(ha): 0.4866107654855288 rate: 0.04491970447813873 i: 559 ha.loc[0,'a'] 2596\n",
      "list(a)[0]: 2596 time: 0.015192747116088867 lenp(ha): 0.4863402758993779 rate: 0.04491493491937061 i: 560 ha.loc[0,'a'] 4135\n",
      "list(a)[0]: 4135 time: 0.015041112899780273 lenp(ha): 0.48606978631322695 rate: 0.04491016536060249 i: 561 ha.loc[0,'a'] 5418\n",
      "list(a)[0]: 5418 time: 0.024063825607299805 lenp(ha): 0.485799296727076 rate: 0.04490539580183437 i: 562 ha.loc[0,'a'] 8175\n",
      "list(a)[0]: 8175 time: 0.018079519271850586 lenp(ha): 0.48552880714092506 rate: 0.044900626243066254 i: 563 ha.loc[0,'a'] 4464\n",
      "list(a)[0]: 4464 time: 0.01704716682434082 lenp(ha): 0.48525831755477417 rate: 0.04489585668429814 i: 564 ha.loc[0,'a'] 1578\n",
      "list(a)[0]: 1578 time: 0.016066789627075195 lenp(ha): 0.4849878279686232 rate: 0.04489108712553002 i: 565 ha.loc[0,'a'] 3213\n",
      "list(a)[0]: 3213 time: 0.016071796417236328 lenp(ha): 0.4847173383824723 rate: 0.044886317566761896 i: 566 ha.loc[0,'a'] 8847\n",
      "list(a)[0]: 8847 time: 0.016041278839111328 lenp(ha): 0.4844468487963213 rate: 0.04488154800799378 i: 567 ha.loc[0,'a'] 2003\n",
      "list(a)[0]: 2003 time: 0.08121705055236816 lenp(ha): 0.4839058696240195 rate: 0.044862469772921305 i: 568 ha.loc[0,'a'] 7898\n",
      "list(a)[0]: 7898 time: 0.017045259475708008 lenp(ha): 0.48363538003786855 rate: 0.04485770021415319 i: 569 ha.loc[0,'a'] 5707\n",
      "list(a)[0]: 5707 time: 0.0170440673828125 lenp(ha): 0.4833648904517176 rate: 0.04485293065538507 i: 570 ha.loc[0,'a'] 1731\n",
      "list(a)[0]: 1731 time: 0.017045974731445312 lenp(ha): 0.48309440086556665 rate: 0.044848161096616955 i: 571 ha.loc[0,'a'] 4490\n",
      "list(a)[0]: 4490 time: 0.01604175567626953 lenp(ha): 0.48282391127941576 rate: 0.04484339153784883 i: 572 ha.loc[0,'a'] 6782\n",
      "list(a)[0]: 6782 time: 0.015039920806884766 lenp(ha): 0.4825534216932648 rate: 0.044838621979080714 i: 573 ha.loc[0,'a'] 1308\n",
      "list(a)[0]: 1308 time: 0.016042232513427734 lenp(ha): 0.48228293210711387 rate: 0.0448338524203126 i: 574 ha.loc[0,'a'] 6546\n",
      "list(a)[0]: 6546 time: 0.02005600929260254 lenp(ha): 0.4820124425209629 rate: 0.04482908286154448 i: 575 ha.loc[0,'a'] 2330\n",
      "list(a)[0]: 2330 time: 0.01704883575439453 lenp(ha): 0.48174195293481203 rate: 0.04482431330277636 i: 576 ha.loc[0,'a'] 7312\n",
      "list(a)[0]: 7312 time: 0.015040397644042969 lenp(ha): 0.4814714633486611 rate: 0.04481954374400824 i: 577 ha.loc[0,'a'] 851\n",
      "list(a)[0]: 851 time: 0.02306222915649414 lenp(ha): 0.48120097376251014 rate: 0.044814774185240124 i: 578 ha.loc[0,'a'] 4095\n",
      "list(a)[0]: 4095 time: 0.014574289321899414 lenp(ha): 0.4809304841763592 rate: 0.04481000462647201 i: 579 ha.loc[0,'a'] 4857\n",
      "list(a)[0]: 4857 time: 0.015041589736938477 lenp(ha): 0.48065999459020825 rate: 0.04480523506770389 i: 580 ha.loc[0,'a'] 6806\n",
      "list(a)[0]: 6806 time: 0.016038894653320312 lenp(ha): 0.48038950500405736 rate: 0.044800465508935766 i: 581 ha.loc[0,'a'] 2588\n",
      "list(a)[0]: 2588 time: 0.024073123931884766 lenp(ha): 0.4801190154179064 rate: 0.04479569595016765 i: 582 ha.loc[0,'a'] 3734\n",
      "list(a)[0]: 3734 time: 0.015039682388305664 lenp(ha): 0.47984852583175547 rate: 0.04479092639139953 i: 583 ha.loc[0,'a'] 1378\n",
      "list(a)[0]: 1378 time: 0.015006542205810547 lenp(ha): 0.4795780362456045 rate: 0.044786156832631416 i: 584 ha.loc[0,'a'] 8012\n",
      "list(a)[0]: 8012 time: 0.018046140670776367 lenp(ha): 0.47930754665945363 rate: 0.04478138727386329 i: 585 ha.loc[0,'a'] 4526\n",
      "list(a)[0]: 4526 time: 0.016043424606323242 lenp(ha): 0.4790370570733027 rate: 0.044776617715095175 i: 586 ha.loc[0,'a'] 7754\n",
      "list(a)[0]: 7754 time: 0.01504206657409668 lenp(ha): 0.47876656748715174 rate: 0.04477184815632706 i: 587 ha.loc[0,'a'] 2356\n",
      "list(a)[0]: 2356 time: 0.017079830169677734 lenp(ha): 0.4784960779010008 rate: 0.04476707859755894 i: 588 ha.loc[0,'a'] 6325\n",
      "list(a)[0]: 6325 time: 0.018078327178955078 lenp(ha): 0.4782255883148499 rate: 0.044762309038790825 i: 589 ha.loc[0,'a'] 2336\n",
      "list(a)[0]: 2336 time: 0.017049074172973633 lenp(ha): 0.47795509872869896 rate: 0.0447575394800227 i: 590 ha.loc[0,'a'] 5993\n",
      "list(a)[0]: 5993 time: 0.0170438289642334 lenp(ha): 0.477684609142548 rate: 0.044752769921254584 i: 591 ha.loc[0,'a'] 2172\n",
      "list(a)[0]: 2172 time: 0.017018795013427734 lenp(ha): 0.47741411955639707 rate: 0.04474800036248647 i: 592 ha.loc[0,'a'] 591\n",
      "list(a)[0]: 591 time: 0.01757645606994629 lenp(ha): 0.4771436299702461 rate: 0.04474323080371835 i: 593 ha.loc[0,'a'] 5750\n",
      "list(a)[0]: 5750 time: 0.01902461051940918 lenp(ha): 0.47687314038409523 rate: 0.04473846124495023 i: 594 ha.loc[0,'a'] 423\n",
      "list(a)[0]: 423 time: 0.019050121307373047 lenp(ha): 0.4766026507979443 rate: 0.04473369168618211 i: 595 ha.loc[0,'a'] 1624\n",
      "list(a)[0]: 1624 time: 0.015039205551147461 lenp(ha): 0.47633216121179334 rate: 0.04472892212741399 i: 596 ha.loc[0,'a'] 593\n",
      "list(a)[0]: 593 time: 0.018047094345092773 lenp(ha): 0.4760616716256424 rate: 0.04472415256864588 i: 597 ha.loc[0,'a'] 5230\n",
      "list(a)[0]: 5230 time: 0.016046762466430664 lenp(ha): 0.4757911820394915 rate: 0.04471938300987775 i: 598 ha.loc[0,'a'] 389\n",
      "list(a)[0]: 389 time: 0.018050193786621094 lenp(ha): 0.47552069245334055 rate: 0.044714613451109636 i: 599 ha.loc[0,'a'] 1424\n",
      "list(a)[0]: 1424 time: 0.01403665542602539 lenp(ha): 0.4752502028671896 rate: 0.04470984389234152 i: 600 ha.loc[0,'a'] 8219\n",
      "list(a)[0]: 8219 time: 0.015570878982543945 lenp(ha): 0.47497971328103866 rate: 0.0447050743335734 i: 601 ha.loc[0,'a'] 5272\n",
      "list(a)[0]: 5272 time: 0.015039205551147461 lenp(ha): 0.47470922369488777 rate: 0.044700304774805286 i: 602 ha.loc[0,'a'] 6367\n",
      "list(a)[0]: 6367 time: 0.07935094833374023 lenp(ha): 0.4741682445225859 rate: 0.04467645698096469 i: 603 ha.loc[0,'a'] 959\n",
      "list(a)[0]: 959 time: 0.01607060432434082 lenp(ha): 0.47389775493643493 rate: 0.04467168742219657 i: 604 ha.loc[0,'a'] 6865\n",
      "list(a)[0]: 6865 time: 0.016046762466430664 lenp(ha): 0.473627265350284 rate: 0.044666917863428454 i: 605 ha.loc[0,'a'] 3953\n",
      "list(a)[0]: 3953 time: 0.01604294776916504 lenp(ha): 0.4733567757641331 rate: 0.04466214830466034 i: 606 ha.loc[0,'a'] 8166\n",
      "list(a)[0]: 8166 time: 0.01704549789428711 lenp(ha): 0.47308628617798215 rate: 0.04465737874589222 i: 607 ha.loc[0,'a'] 1147\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 1147 time: 0.017549514770507812 lenp(ha): 0.4728157965918312 rate: 0.0446526091871241 i: 608 ha.loc[0,'a'] 8266\n",
      "list(a)[0]: 8266 time: 0.01905035972595215 lenp(ha): 0.47254530700568026 rate: 0.04464783962835598 i: 609 ha.loc[0,'a'] 2594\n",
      "list(a)[0]: 2594 time: 0.01704573631286621 lenp(ha): 0.47227481741952937 rate: 0.04464307006958786 i: 610 ha.loc[0,'a'] 7412\n",
      "list(a)[0]: 7412 time: 0.014540910720825195 lenp(ha): 0.4720043278333784 rate: 0.044638300510819746 i: 611 ha.loc[0,'a'] 4008\n",
      "list(a)[0]: 4008 time: 0.02005171775817871 lenp(ha): 0.4717338382472275 rate: 0.04463353095205162 i: 612 ha.loc[0,'a'] 3358\n",
      "list(a)[0]: 3358 time: 0.017044544219970703 lenp(ha): 0.47146334866107653 rate: 0.044628761393283506 i: 613 ha.loc[0,'a'] 2230\n",
      "list(a)[0]: 2230 time: 0.016043424606323242 lenp(ha): 0.47119285907492564 rate: 0.04462399183451539 i: 614 ha.loc[0,'a'] 6145\n",
      "list(a)[0]: 6145 time: 0.02205801010131836 lenp(ha): 0.4709223694887747 rate: 0.04461922227574727 i: 615 ha.loc[0,'a'] 5079\n",
      "list(a)[0]: 5079 time: 0.01606917381286621 lenp(ha): 0.47065187990262375 rate: 0.044614452716979155 i: 616 ha.loc[0,'a'] 3365\n",
      "list(a)[0]: 3365 time: 0.01554250717163086 lenp(ha): 0.4703813903164728 rate: 0.04460968315821103 i: 617 ha.loc[0,'a'] 987\n",
      "list(a)[0]: 987 time: 0.18553709983825684 lenp(ha): 0.46984041114417097 rate: 0.04454767889422549 i: 618 ha.loc[0,'a'] 434\n",
      "list(a)[0]: 434 time: 0.016010522842407227 lenp(ha): 0.46956992155802 rate: 0.044542909335457376 i: 619 ha.loc[0,'a'] 4274\n",
      "list(a)[0]: 4274 time: 0.015038490295410156 lenp(ha): 0.4692994319718691 rate: 0.04453813977668926 i: 620 ha.loc[0,'a'] 7093\n",
      "list(a)[0]: 7093 time: 0.016548633575439453 lenp(ha): 0.46902894238571813 rate: 0.04453337021792114 i: 621 ha.loc[0,'a'] 5395\n",
      "list(a)[0]: 5395 time: 0.02205824851989746 lenp(ha): 0.46875845279956724 rate: 0.04452860065915302 i: 622 ha.loc[0,'a'] 3774\n",
      "list(a)[0]: 3774 time: 0.015278816223144531 lenp(ha): 0.4684879632134163 rate: 0.0445238311003849 i: 623 ha.loc[0,'a'] 2510\n",
      "list(a)[0]: 2510 time: 0.018048524856567383 lenp(ha): 0.46821747362726535 rate: 0.044519061541616785 i: 624 ha.loc[0,'a'] 3301\n",
      "list(a)[0]: 3301 time: 0.01739668846130371 lenp(ha): 0.4679469840411144 rate: 0.04451429198284867 i: 625 ha.loc[0,'a'] 3110\n",
      "list(a)[0]: 3110 time: 0.016017675399780273 lenp(ha): 0.4676764944549635 rate: 0.04450952242408055 i: 626 ha.loc[0,'a'] 8130\n",
      "list(a)[0]: 8130 time: 0.016042232513427734 lenp(ha): 0.46740600486881256 rate: 0.04450475286531243 i: 627 ha.loc[0,'a'] 920\n",
      "list(a)[0]: 920 time: 0.015065431594848633 lenp(ha): 0.4671355152826616 rate: 0.04449998330654431 i: 628 ha.loc[0,'a'] 130\n",
      "list(a)[0]: 130 time: 0.015376091003417969 lenp(ha): 0.46686502569651067 rate: 0.044495213747776194 i: 629 ha.loc[0,'a'] 3111\n",
      "list(a)[0]: 3111 time: 0.016016721725463867 lenp(ha): 0.4665945361103597 rate: 0.04449044418900808 i: 630 ha.loc[0,'a'] 7381\n",
      "list(a)[0]: 7381 time: 0.016042470932006836 lenp(ha): 0.46632404652420884 rate: 0.04448567463023995 i: 631 ha.loc[0,'a'] 3086\n",
      "list(a)[0]: 3086 time: 0.021092653274536133 lenp(ha): 0.4660535569380579 rate: 0.04448090507147184 i: 632 ha.loc[0,'a'] 6036\n",
      "list(a)[0]: 6036 time: 0.017045021057128906 lenp(ha): 0.46578306735190694 rate: 0.04447613551270372 i: 633 ha.loc[0,'a'] 3839\n",
      "list(a)[0]: 3839 time: 0.01804804801940918 lenp(ha): 0.465512577765756 rate: 0.0444713659539356 i: 634 ha.loc[0,'a'] 5984\n",
      "list(a)[0]: 5984 time: 0.01507425308227539 lenp(ha): 0.4652420881796051 rate: 0.044466596395167486 i: 635 ha.loc[0,'a'] 4622\n",
      "list(a)[0]: 4622 time: 0.01604151725769043 lenp(ha): 0.46497159859345416 rate: 0.04446182683639936 i: 636 ha.loc[0,'a'] 6379\n",
      "list(a)[0]: 6379 time: 0.017048358917236328 lenp(ha): 0.4647011090073032 rate: 0.044457057277631246 i: 637 ha.loc[0,'a'] 5649\n",
      "list(a)[0]: 5649 time: 0.015064239501953125 lenp(ha): 0.46443061942115227 rate: 0.04445228771886313 i: 638 ha.loc[0,'a'] 11\n",
      "list(a)[0]: 11 time: 0.022060632705688477 lenp(ha): 0.4641601298350014 rate: 0.04444751816009501 i: 639 ha.loc[0,'a'] 4045\n",
      "list(a)[0]: 4045 time: 0.020061492919921875 lenp(ha): 0.46388964024885043 rate: 0.04444274860132689 i: 640 ha.loc[0,'a'] 7966\n",
      "list(a)[0]: 7966 time: 0.016076326370239258 lenp(ha): 0.4636191506626995 rate: 0.04443797904255877 i: 641 ha.loc[0,'a'] 2727\n",
      "list(a)[0]: 2727 time: 0.01607227325439453 lenp(ha): 0.46334866107654854 rate: 0.044433209483790655 i: 642 ha.loc[0,'a'] 4069\n",
      "list(a)[0]: 4069 time: 0.020090579986572266 lenp(ha): 0.4630781714903976 rate: 0.04442843992502254 i: 643 ha.loc[0,'a'] 4642\n",
      "list(a)[0]: 4642 time: 0.014037609100341797 lenp(ha): 0.4628076819042467 rate: 0.04442367036625442 i: 644 ha.loc[0,'a'] 256\n",
      "list(a)[0]: 256 time: 0.01905202865600586 lenp(ha): 0.46253719231809576 rate: 0.0444189008074863 i: 645 ha.loc[0,'a'] 2748\n",
      "list(a)[0]: 2748 time: 0.016041994094848633 lenp(ha): 0.4622667027319448 rate: 0.04441413124871818 i: 646 ha.loc[0,'a'] 6192\n",
      "list(a)[0]: 6192 time: 0.01503896713256836 lenp(ha): 0.46199621314579387 rate: 0.044409361689950064 i: 647 ha.loc[0,'a'] 4606\n",
      "list(a)[0]: 4606 time: 0.015045166015625 lenp(ha): 0.461725723559643 rate: 0.04440459213118195 i: 648 ha.loc[0,'a'] 7261\n",
      "list(a)[0]: 7261 time: 0.018047332763671875 lenp(ha): 0.46145523397349203 rate: 0.04439982257241382 i: 649 ha.loc[0,'a'] 2223\n",
      "list(a)[0]: 2223 time: 0.017045974731445312 lenp(ha): 0.4611847443873411 rate: 0.044395053013645706 i: 650 ha.loc[0,'a'] 495\n",
      "list(a)[0]: 495 time: 0.015035867691040039 lenp(ha): 0.46091425480119014 rate: 0.04439028345487759 i: 651 ha.loc[0,'a'] 1697\n",
      "list(a)[0]: 1697 time: 0.01807999610900879 lenp(ha): 0.46064376521503925 rate: 0.04438551389610947 i: 652 ha.loc[0,'a'] 6896\n",
      "list(a)[0]: 6896 time: 0.01607489585876465 lenp(ha): 0.4603732756288883 rate: 0.044380744337341356 i: 653 ha.loc[0,'a'] 5318\n",
      "list(a)[0]: 5318 time: 0.01501321792602539 lenp(ha): 0.46010278604273736 rate: 0.04437597477857323 i: 654 ha.loc[0,'a'] 7583\n",
      "list(a)[0]: 7583 time: 0.015040159225463867 lenp(ha): 0.4598322964565864 rate: 0.044371205219805115 i: 655 ha.loc[0,'a'] 4066\n",
      "list(a)[0]: 4066 time: 0.016014575958251953 lenp(ha): 0.45956180687043546 rate: 0.044366435661037 i: 656 ha.loc[0,'a'] 3645\n",
      "list(a)[0]: 3645 time: 0.019049644470214844 lenp(ha): 0.4592913172842846 rate: 0.04436166610226888 i: 657 ha.loc[0,'a'] 848\n",
      "list(a)[0]: 848 time: 0.016549110412597656 lenp(ha): 0.4590208276981336 rate: 0.04435689654350076 i: 658 ha.loc[0,'a'] 3371\n",
      "list(a)[0]: 3371 time: 0.015041351318359375 lenp(ha): 0.4587503381119827 rate: 0.04435212698473264 i: 659 ha.loc[0,'a'] 678\n",
      "list(a)[0]: 678 time: 0.016068220138549805 lenp(ha): 0.45847984852583173 rate: 0.044347357425964525 i: 660 ha.loc[0,'a'] 1739\n",
      "list(a)[0]: 1739 time: 0.01607203483581543 lenp(ha): 0.45820935893968084 rate: 0.04434258786719641 i: 661 ha.loc[0,'a'] 5296\n",
      "list(a)[0]: 5296 time: 0.015066862106323242 lenp(ha): 0.4579388693535299 rate: 0.044337818308428284 i: 662 ha.loc[0,'a'] 6730\n",
      "list(a)[0]: 6730 time: 0.015571355819702148 lenp(ha): 0.45766837976737895 rate: 0.04433304874966017 i: 663 ha.loc[0,'a'] 5327\n",
      "list(a)[0]: 5327 time: 0.016071081161499023 lenp(ha): 0.457397890181228 rate: 0.04432827919089205 i: 664 ha.loc[0,'a'] 3356\n",
      "list(a)[0]: 3356 time: 0.016071796417236328 lenp(ha): 0.4571274005950771 rate: 0.044323509632123934 i: 665 ha.loc[0,'a'] 2241\n",
      "list(a)[0]: 2241 time: 0.1013345718383789 lenp(ha): 0.4565864214227752 rate: 0.044285353161978985 i: 666 ha.loc[0,'a'] 6572\n",
      "list(a)[0]: 6572 time: 0.015039205551147461 lenp(ha): 0.4563159318366243 rate: 0.04428058360321087 i: 667 ha.loc[0,'a'] 4544\n",
      "list(a)[0]: 4544 time: 0.015542745590209961 lenp(ha): 0.45604544225047333 rate: 0.04427581404444275 i: 668 ha.loc[0,'a'] 1757\n",
      "list(a)[0]: 1757 time: 0.016071081161499023 lenp(ha): 0.45577495266432244 rate: 0.04427104448567463 i: 669 ha.loc[0,'a'] 1536\n",
      "list(a)[0]: 1536 time: 0.015011072158813477 lenp(ha): 0.4555044630781715 rate: 0.04426627492690651 i: 670 ha.loc[0,'a'] 427\n",
      "list(a)[0]: 427 time: 0.015039443969726562 lenp(ha): 0.45523397349202055 rate: 0.044261505368138394 i: 671 ha.loc[0,'a'] 2764\n",
      "list(a)[0]: 2764 time: 0.015041112899780273 lenp(ha): 0.4549634839058696 rate: 0.04425673580937028 i: 672 ha.loc[0,'a'] 7478\n",
      "list(a)[0]: 7478 time: 0.020056962966918945 lenp(ha): 0.4546929943197187 rate: 0.044251966250602154 i: 673 ha.loc[0,'a'] 4254\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4254 time: 0.027072906494140625 lenp(ha): 0.45442250473356777 rate: 0.04424719669183404 i: 674 ha.loc[0,'a'] 500\n",
      "list(a)[0]: 500 time: 0.016072511672973633 lenp(ha): 0.4541520151474168 rate: 0.04424242713306592 i: 675 ha.loc[0,'a'] 4312\n",
      "list(a)[0]: 4312 time: 0.015044689178466797 lenp(ha): 0.4538815255612659 rate: 0.0442376575742978 i: 676 ha.loc[0,'a'] 8116\n",
      "list(a)[0]: 8116 time: 0.015038490295410156 lenp(ha): 0.453611035975115 rate: 0.04423288801552969 i: 677 ha.loc[0,'a'] 5467\n",
      "list(a)[0]: 5467 time: 0.01554727554321289 lenp(ha): 0.45334054638896404 rate: 0.04422811845676156 i: 678 ha.loc[0,'a'] 3831\n",
      "list(a)[0]: 3831 time: 0.015040397644042969 lenp(ha): 0.4530700568028131 rate: 0.044223348897993446 i: 679 ha.loc[0,'a'] 5739\n",
      "list(a)[0]: 5739 time: 0.014543294906616211 lenp(ha): 0.45279956721666215 rate: 0.04421857933922533 i: 680 ha.loc[0,'a'] 7111\n",
      "list(a)[0]: 7111 time: 0.01503753662109375 lenp(ha): 0.4525290776305112 rate: 0.04421380978045721 i: 681 ha.loc[0,'a'] 1096\n",
      "list(a)[0]: 1096 time: 0.016042470932006836 lenp(ha): 0.4522585880443603 rate: 0.04420904022168909 i: 682 ha.loc[0,'a'] 8439\n",
      "list(a)[0]: 8439 time: 0.014037132263183594 lenp(ha): 0.45198809845820936 rate: 0.04420427066292097 i: 683 ha.loc[0,'a'] 3083\n",
      "list(a)[0]: 3083 time: 0.01604151725769043 lenp(ha): 0.4517176088720584 rate: 0.044199501104152855 i: 684 ha.loc[0,'a'] 6944\n",
      "list(a)[0]: 6944 time: 0.014542102813720703 lenp(ha): 0.45144711928590747 rate: 0.04419473154538474 i: 685 ha.loc[0,'a'] 1978\n",
      "list(a)[0]: 1978 time: 0.017042875289916992 lenp(ha): 0.4511766296997566 rate: 0.04418996198661662 i: 686 ha.loc[0,'a'] 677\n",
      "list(a)[0]: 677 time: 0.015038728713989258 lenp(ha): 0.45090614011360564 rate: 0.0441851924278485 i: 687 ha.loc[0,'a'] 5276\n",
      "list(a)[0]: 5276 time: 0.0160672664642334 lenp(ha): 0.4506356505274547 rate: 0.04418042286908038 i: 688 ha.loc[0,'a'] 3626\n",
      "list(a)[0]: 3626 time: 0.02005290985107422 lenp(ha): 0.45036516094130374 rate: 0.044175653310312264 i: 689 ha.loc[0,'a'] 5464\n",
      "list(a)[0]: 5464 time: 0.01654529571533203 lenp(ha): 0.45009467135515285 rate: 0.04417088375154415 i: 690 ha.loc[0,'a'] 6847\n",
      "list(a)[0]: 6847 time: 0.016042232513427734 lenp(ha): 0.4498241817690019 rate: 0.044166114192776024 i: 691 ha.loc[0,'a'] 5421\n",
      "list(a)[0]: 5421 time: 0.01701521873474121 lenp(ha): 0.44955369218285096 rate: 0.04416134463400791 i: 692 ha.loc[0,'a'] 6231\n",
      "list(a)[0]: 6231 time: 0.020558595657348633 lenp(ha): 0.4492832025967 rate: 0.04415657507523979 i: 693 ha.loc[0,'a'] 1309\n",
      "list(a)[0]: 1309 time: 0.01604294776916504 lenp(ha): 0.44901271301054907 rate: 0.04415180551647167 i: 694 ha.loc[0,'a'] 6252\n",
      "list(a)[0]: 6252 time: 0.019583940505981445 lenp(ha): 0.4487422234243982 rate: 0.04414703595770355 i: 695 ha.loc[0,'a'] 2001\n",
      "list(a)[0]: 2001 time: 0.015070676803588867 lenp(ha): 0.44847173383824723 rate: 0.04414226639893543 i: 696 ha.loc[0,'a'] 4080\n",
      "list(a)[0]: 4080 time: 0.016071557998657227 lenp(ha): 0.4482012442520963 rate: 0.044137496840167316 i: 697 ha.loc[0,'a'] 2628\n",
      "list(a)[0]: 2628 time: 0.018053531646728516 lenp(ha): 0.44793075466594534 rate: 0.0441327272813992 i: 698 ha.loc[0,'a'] 559\n",
      "list(a)[0]: 559 time: 0.015039443969726562 lenp(ha): 0.44766026507979445 rate: 0.04412795772263108 i: 699 ha.loc[0,'a'] 739\n",
      "list(a)[0]: 739 time: 0.016075611114501953 lenp(ha): 0.4473897754936435 rate: 0.04412318816386296 i: 700 ha.loc[0,'a'] 5842\n",
      "list(a)[0]: 5842 time: 0.016069889068603516 lenp(ha): 0.44711928590749256 rate: 0.04411841860509484 i: 701 ha.loc[0,'a'] 2485\n",
      "list(a)[0]: 2485 time: 0.017019271850585938 lenp(ha): 0.4468487963213416 rate: 0.044113649046326725 i: 702 ha.loc[0,'a'] 7266\n",
      "list(a)[0]: 7266 time: 0.01955723762512207 lenp(ha): 0.4465783067351907 rate: 0.04410887948755861 i: 703 ha.loc[0,'a'] 4568\n",
      "list(a)[0]: 4568 time: 0.016041040420532227 lenp(ha): 0.4463078171490398 rate: 0.044104109928790484 i: 704 ha.loc[0,'a'] 7890\n",
      "list(a)[0]: 7890 time: 0.022058725357055664 lenp(ha): 0.44603732756288883 rate: 0.04409934037002237 i: 705 ha.loc[0,'a'] 5188\n",
      "list(a)[0]: 5188 time: 0.020561933517456055 lenp(ha): 0.4457668379767379 rate: 0.04409457081125425 i: 706 ha.loc[0,'a'] 4145\n",
      "list(a)[0]: 4145 time: 0.015039443969726562 lenp(ha): 0.44549634839058694 rate: 0.044089801252486134 i: 707 ha.loc[0,'a'] 2267\n",
      "list(a)[0]: 2267 time: 0.015546321868896484 lenp(ha): 0.44522585880443605 rate: 0.04408503169371802 i: 708 ha.loc[0,'a'] 3828\n",
      "list(a)[0]: 3828 time: 0.015040159225463867 lenp(ha): 0.4449553692182851 rate: 0.044080262134949894 i: 709 ha.loc[0,'a'] 1617\n",
      "list(a)[0]: 1617 time: 0.015039443969726562 lenp(ha): 0.44468487963213416 rate: 0.04407549257618178 i: 710 ha.loc[0,'a'] 7647\n",
      "list(a)[0]: 7647 time: 0.016544342041015625 lenp(ha): 0.4444143900459832 rate: 0.04407072301741366 i: 711 ha.loc[0,'a'] 716\n",
      "list(a)[0]: 716 time: 0.016065120697021484 lenp(ha): 0.4441439004598323 rate: 0.04406595345864554 i: 712 ha.loc[0,'a'] 6214\n",
      "list(a)[0]: 6214 time: 0.016019344329833984 lenp(ha): 0.4438734108736814 rate: 0.04406118389987742 i: 713 ha.loc[0,'a'] 2656\n",
      "list(a)[0]: 2656 time: 0.015038728713989258 lenp(ha): 0.4436029212875304 rate: 0.0440564143411093 i: 714 ha.loc[0,'a'] 7894\n",
      "list(a)[0]: 7894 time: 0.015574932098388672 lenp(ha): 0.4433324317013795 rate: 0.044051644782341186 i: 715 ha.loc[0,'a'] 2252\n",
      "list(a)[0]: 2252 time: 0.01604294776916504 lenp(ha): 0.4430619421152286 rate: 0.04404687522357307 i: 716 ha.loc[0,'a'] 7497\n",
      "list(a)[0]: 7497 time: 0.024063825607299805 lenp(ha): 0.44279145252907764 rate: 0.04404210566480495 i: 717 ha.loc[0,'a'] 2298\n",
      "list(a)[0]: 2298 time: 0.014538288116455078 lenp(ha): 0.4425209629429267 rate: 0.04403733610603683 i: 718 ha.loc[0,'a'] 6319\n",
      "list(a)[0]: 6319 time: 0.015038728713989258 lenp(ha): 0.44225047335677575 rate: 0.04403256654726871 i: 719 ha.loc[0,'a'] 2695\n",
      "list(a)[0]: 2695 time: 0.018451452255249023 lenp(ha): 0.4419799837706248 rate: 0.044027796988500595 i: 720 ha.loc[0,'a'] 7292\n",
      "list(a)[0]: 7292 time: 0.015039443969726562 lenp(ha): 0.4417094941844739 rate: 0.04402302742973248 i: 721 ha.loc[0,'a'] 2723\n",
      "list(a)[0]: 2723 time: 0.020054101943969727 lenp(ha): 0.44143900459832297 rate: 0.044018257870964354 i: 722 ha.loc[0,'a'] 7446\n",
      "list(a)[0]: 7446 time: 0.018049955368041992 lenp(ha): 0.441168515012172 rate: 0.04401348831219624 i: 723 ha.loc[0,'a'] 5691\n",
      "list(a)[0]: 5691 time: 0.015013694763183594 lenp(ha): 0.4408980254260211 rate: 0.04400871875342812 i: 724 ha.loc[0,'a'] 7370\n",
      "list(a)[0]: 7370 time: 0.015037775039672852 lenp(ha): 0.4406275358398702 rate: 0.044003949194660004 i: 725 ha.loc[0,'a'] 2542\n",
      "list(a)[0]: 2542 time: 0.05713033676147461 lenp(ha): 0.4400865566675683 rate: 0.04398964051835565 i: 726 ha.loc[0,'a'] 6431\n",
      "list(a)[0]: 6431 time: 0.015563011169433594 lenp(ha): 0.43981606708141735 rate: 0.04398487095958753 i: 727 ha.loc[0,'a'] 2098\n",
      "list(a)[0]: 2098 time: 0.021038055419921875 lenp(ha): 0.43954557749526646 rate: 0.04398010140081941 i: 728 ha.loc[0,'a'] 8523\n",
      "list(a)[0]: 8523 time: 0.020282745361328125 lenp(ha): 0.4392750879091155 rate: 0.04397533184205129 i: 729 ha.loc[0,'a'] 4160\n",
      "list(a)[0]: 4160 time: 0.019076108932495117 lenp(ha): 0.43900459832296457 rate: 0.04397056228328317 i: 730 ha.loc[0,'a'] 3634\n",
      "list(a)[0]: 3634 time: 0.015041589736938477 lenp(ha): 0.4387341087368136 rate: 0.043965792724515056 i: 731 ha.loc[0,'a'] 2949\n",
      "list(a)[0]: 2949 time: 0.015039443969726562 lenp(ha): 0.4384636191506627 rate: 0.04396102316574694 i: 732 ha.loc[0,'a'] 7291\n",
      "list(a)[0]: 7291 time: 0.01704549789428711 lenp(ha): 0.4381931295645118 rate: 0.043956253606978815 i: 733 ha.loc[0,'a'] 5111\n",
      "list(a)[0]: 5111 time: 0.016040325164794922 lenp(ha): 0.43792263997836084 rate: 0.0439514840482107 i: 734 ha.loc[0,'a'] 6128\n",
      "list(a)[0]: 6128 time: 0.01607823371887207 lenp(ha): 0.4376521503922099 rate: 0.04394671448944258 i: 735 ha.loc[0,'a'] 5028\n",
      "list(a)[0]: 5028 time: 0.01704573631286621 lenp(ha): 0.43738166080605895 rate: 0.043941944930674465 i: 736 ha.loc[0,'a'] 8840\n",
      "list(a)[0]: 8840 time: 0.016066789627075195 lenp(ha): 0.43711117121990806 rate: 0.04393717537190635 i: 737 ha.loc[0,'a'] 2260\n",
      "list(a)[0]: 2260 time: 0.020052194595336914 lenp(ha): 0.4368406816337571 rate: 0.043932405813138224 i: 738 ha.loc[0,'a'] 6916\n",
      "list(a)[0]: 6916 time: 0.020052433013916016 lenp(ha): 0.43657019204760616 rate: 0.04392763625437011 i: 739 ha.loc[0,'a'] 1297\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 1297 time: 0.018047571182250977 lenp(ha): 0.4362997024614552 rate: 0.04392286669560199 i: 740 ha.loc[0,'a'] 4062\n",
      "list(a)[0]: 4062 time: 0.026072025299072266 lenp(ha): 0.43602921287530433 rate: 0.043918097136833874 i: 741 ha.loc[0,'a'] 5729\n",
      "list(a)[0]: 5729 time: 0.01704549789428711 lenp(ha): 0.4357587232891534 rate: 0.04391332757806575 i: 742 ha.loc[0,'a'] 569\n",
      "list(a)[0]: 569 time: 0.01506662368774414 lenp(ha): 0.43548823370300244 rate: 0.04390855801929763 i: 743 ha.loc[0,'a'] 2557\n",
      "list(a)[0]: 2557 time: 0.01651787757873535 lenp(ha): 0.4352177441168515 rate: 0.043903788460529516 i: 744 ha.loc[0,'a'] 518\n",
      "list(a)[0]: 518 time: 0.014068126678466797 lenp(ha): 0.43494725453070054 rate: 0.0438990189017614 i: 745 ha.loc[0,'a'] 3164\n",
      "list(a)[0]: 3164 time: 0.015138864517211914 lenp(ha): 0.43467676494454965 rate: 0.04389424934299328 i: 746 ha.loc[0,'a'] 3439\n",
      "list(a)[0]: 3439 time: 0.01401209831237793 lenp(ha): 0.4344062753583987 rate: 0.04388947978422516 i: 747 ha.loc[0,'a'] 3261\n",
      "list(a)[0]: 3261 time: 0.019051790237426758 lenp(ha): 0.43413578577224776 rate: 0.04388471022545704 i: 748 ha.loc[0,'a'] 6843\n",
      "list(a)[0]: 6843 time: 0.015043258666992188 lenp(ha): 0.4338652961860968 rate: 0.043879940666688926 i: 749 ha.loc[0,'a'] 2451\n",
      "list(a)[0]: 2451 time: 0.015040159225463867 lenp(ha): 0.4335948065999459 rate: 0.04387517110792081 i: 750 ha.loc[0,'a'] 6941\n",
      "list(a)[0]: 6941 time: 0.014517068862915039 lenp(ha): 0.433324317013795 rate: 0.043870401549152685 i: 751 ha.loc[0,'a'] 5674\n",
      "list(a)[0]: 5674 time: 0.024091005325317383 lenp(ha): 0.43305382742764403 rate: 0.04386563199038457 i: 752 ha.loc[0,'a'] 8197\n",
      "list(a)[0]: 8197 time: 0.020052194595336914 lenp(ha): 0.4327833378414931 rate: 0.04386086243161645 i: 753 ha.loc[0,'a'] 1611\n",
      "list(a)[0]: 1611 time: 0.022064208984375 lenp(ha): 0.43251284825534214 rate: 0.043856092872848335 i: 754 ha.loc[0,'a'] 8004\n",
      "list(a)[0]: 8004 time: 0.023032426834106445 lenp(ha): 0.43224235866919125 rate: 0.04385132331408022 i: 755 ha.loc[0,'a'] 5211\n",
      "list(a)[0]: 5211 time: 0.016042232513427734 lenp(ha): 0.4319718690830403 rate: 0.043846553755312094 i: 756 ha.loc[0,'a'] 6026\n",
      "list(a)[0]: 6026 time: 0.016546010971069336 lenp(ha): 0.43170137949688936 rate: 0.04384178419654398 i: 757 ha.loc[0,'a'] 4061\n",
      "list(a)[0]: 4061 time: 0.017046689987182617 lenp(ha): 0.4314308899107384 rate: 0.04383701463777586 i: 758 ha.loc[0,'a'] 3677\n",
      "list(a)[0]: 3677 time: 0.017068147659301758 lenp(ha): 0.4311604003245875 rate: 0.043832245079007744 i: 759 ha.loc[0,'a'] 778\n",
      "list(a)[0]: 778 time: 0.017081260681152344 lenp(ha): 0.4308899107384366 rate: 0.04382747552023962 i: 760 ha.loc[0,'a'] 3571\n",
      "list(a)[0]: 3571 time: 0.018046140670776367 lenp(ha): 0.43061942115228563 rate: 0.0438227059614715 i: 761 ha.loc[0,'a'] 1532\n",
      "list(a)[0]: 1532 time: 0.02306509017944336 lenp(ha): 0.4303489315661347 rate: 0.043817936402703386 i: 762 ha.loc[0,'a'] 8307\n",
      "list(a)[0]: 8307 time: 0.015040397644042969 lenp(ha): 0.4300784419799838 rate: 0.04381316684393527 i: 763 ha.loc[0,'a'] 4294\n",
      "list(a)[0]: 4294 time: 0.015040874481201172 lenp(ha): 0.42980795239383285 rate: 0.043808397285167146 i: 764 ha.loc[0,'a'] 7449\n",
      "list(a)[0]: 7449 time: 0.01504206657409668 lenp(ha): 0.4295374628076819 rate: 0.04380362772639903 i: 765 ha.loc[0,'a'] 5647\n",
      "list(a)[0]: 5647 time: 0.015038013458251953 lenp(ha): 0.42926697322153096 rate: 0.04379885816763091 i: 766 ha.loc[0,'a'] 8806\n",
      "list(a)[0]: 8806 time: 0.01503896713256836 lenp(ha): 0.42899648363538 rate: 0.043794088608862795 i: 767 ha.loc[0,'a'] 5384\n",
      "list(a)[0]: 5384 time: 0.01905965805053711 lenp(ha): 0.4287259940492291 rate: 0.04378931905009468 i: 768 ha.loc[0,'a'] 6521\n",
      "list(a)[0]: 6521 time: 0.0160675048828125 lenp(ha): 0.4284555044630782 rate: 0.043784549491326555 i: 769 ha.loc[0,'a'] 4153\n",
      "list(a)[0]: 4153 time: 0.015611648559570312 lenp(ha): 0.42818501487692723 rate: 0.04377977993255844 i: 770 ha.loc[0,'a'] 7379\n",
      "list(a)[0]: 7379 time: 0.0170440673828125 lenp(ha): 0.4279145252907763 rate: 0.04377501037379032 i: 771 ha.loc[0,'a'] 5481\n",
      "list(a)[0]: 5481 time: 0.01604151725769043 lenp(ha): 0.4276440357046254 rate: 0.043770240815022204 i: 772 ha.loc[0,'a'] 82\n",
      "list(a)[0]: 82 time: 0.01561117172241211 lenp(ha): 0.42737354611847445 rate: 0.04376547125625408 i: 773 ha.loc[0,'a'] 835\n",
      "list(a)[0]: 835 time: 0.015036344528198242 lenp(ha): 0.4271030565323235 rate: 0.043760701697485964 i: 774 ha.loc[0,'a'] 7489\n",
      "list(a)[0]: 7489 time: 0.014593362808227539 lenp(ha): 0.42683256694617255 rate: 0.04375593213871785 i: 775 ha.loc[0,'a'] 4723\n",
      "list(a)[0]: 4723 time: 0.018080949783325195 lenp(ha): 0.42656207736002166 rate: 0.04375116257994973 i: 776 ha.loc[0,'a'] 6314\n",
      "list(a)[0]: 6314 time: 0.01902174949645996 lenp(ha): 0.4262915877738707 rate: 0.043746393021181613 i: 777 ha.loc[0,'a'] 4625\n",
      "list(a)[0]: 4625 time: 0.016033172607421875 lenp(ha): 0.42602109818771977 rate: 0.04374162346241349 i: 778 ha.loc[0,'a'] 6331\n",
      "list(a)[0]: 6331 time: 0.015013933181762695 lenp(ha): 0.4257506086015688 rate: 0.04373685390364537 i: 779 ha.loc[0,'a'] 1082\n",
      "list(a)[0]: 1082 time: 0.015040159225463867 lenp(ha): 0.4254801190154179 rate: 0.043732084344877256 i: 780 ha.loc[0,'a'] 1880\n",
      "list(a)[0]: 1880 time: 0.01604175567626953 lenp(ha): 0.425209629429267 rate: 0.04372731478610914 i: 781 ha.loc[0,'a'] 5480\n",
      "list(a)[0]: 5480 time: 0.016043663024902344 lenp(ha): 0.42493913984311604 rate: 0.043722545227341016 i: 782 ha.loc[0,'a'] 3374\n",
      "list(a)[0]: 3374 time: 0.016011953353881836 lenp(ha): 0.4246686502569651 rate: 0.0437177756685729 i: 783 ha.loc[0,'a'] 3026\n",
      "list(a)[0]: 3026 time: 0.02005290985107422 lenp(ha): 0.42439816067081415 rate: 0.04371300610980478 i: 784 ha.loc[0,'a'] 7081\n",
      "list(a)[0]: 7081 time: 0.016044139862060547 lenp(ha): 0.42412767108466326 rate: 0.043708236551036665 i: 785 ha.loc[0,'a'] 2819\n",
      "list(a)[0]: 2819 time: 0.01560068130493164 lenp(ha): 0.4238571814985123 rate: 0.04370346699226855 i: 786 ha.loc[0,'a'] 131\n",
      "list(a)[0]: 131 time: 0.015041112899780273 lenp(ha): 0.42358669191236137 rate: 0.043698697433500425 i: 787 ha.loc[0,'a'] 1621\n",
      "list(a)[0]: 1621 time: 0.015033960342407227 lenp(ha): 0.4233162023262104 rate: 0.04369392787473231 i: 788 ha.loc[0,'a'] 538\n",
      "list(a)[0]: 538 time: 0.016038894653320312 lenp(ha): 0.42304571274005953 rate: 0.04368915831596419 i: 789 ha.loc[0,'a'] 5628\n",
      "list(a)[0]: 5628 time: 0.015067577362060547 lenp(ha): 0.4227752231539086 rate: 0.043684388757196074 i: 790 ha.loc[0,'a'] 8697\n",
      "list(a)[0]: 8697 time: 0.020059823989868164 lenp(ha): 0.42250473356775764 rate: 0.04367961919842795 i: 791 ha.loc[0,'a'] 2646\n",
      "list(a)[0]: 2646 time: 0.016042470932006836 lenp(ha): 0.4222342439816067 rate: 0.043674849639659834 i: 792 ha.loc[0,'a'] 7005\n",
      "list(a)[0]: 7005 time: 0.015069961547851562 lenp(ha): 0.42196375439545575 rate: 0.04367008008089172 i: 793 ha.loc[0,'a'] 3203\n",
      "list(a)[0]: 3203 time: 0.015597343444824219 lenp(ha): 0.42169326480930486 rate: 0.0436653105221236 i: 794 ha.loc[0,'a'] 6137\n",
      "list(a)[0]: 6137 time: 0.01607346534729004 lenp(ha): 0.4214227752231539 rate: 0.04366054096335548 i: 795 ha.loc[0,'a'] 3212\n",
      "list(a)[0]: 3212 time: 0.015677928924560547 lenp(ha): 0.42115228563700297 rate: 0.04365577140458736 i: 796 ha.loc[0,'a'] 8253\n",
      "list(a)[0]: 8253 time: 0.01905059814453125 lenp(ha): 0.420881796050852 rate: 0.04365100184581924 i: 797 ha.loc[0,'a'] 5105\n",
      "list(a)[0]: 5105 time: 0.01704573631286621 lenp(ha): 0.42061130646470113 rate: 0.043646232287051126 i: 798 ha.loc[0,'a'] 7173\n",
      "list(a)[0]: 7173 time: 0.015124320983886719 lenp(ha): 0.4203408168785502 rate: 0.04364146272828301 i: 799 ha.loc[0,'a'] 3932\n",
      "list(a)[0]: 3932 time: 0.016043663024902344 lenp(ha): 0.42007032729239924 rate: 0.043636693169514885 i: 800 ha.loc[0,'a'] 3563\n",
      "list(a)[0]: 3563 time: 0.018046855926513672 lenp(ha): 0.4197998377062483 rate: 0.04363192361074677 i: 801 ha.loc[0,'a'] 2235\n",
      "list(a)[0]: 2235 time: 0.016577720642089844 lenp(ha): 0.4195293481200974 rate: 0.04362715405197865 i: 802 ha.loc[0,'a'] 269\n",
      "list(a)[0]: 269 time: 0.018047571182250977 lenp(ha): 0.41925885853394645 rate: 0.043622384493210535 i: 803 ha.loc[0,'a'] 3054\n",
      "list(a)[0]: 3054 time: 0.0160675048828125 lenp(ha): 0.4189883689477955 rate: 0.04361761493444241 i: 804 ha.loc[0,'a'] 5478\n",
      "list(a)[0]: 5478 time: 0.024124860763549805 lenp(ha): 0.41871787936164456 rate: 0.043612845375674295 i: 805 ha.loc[0,'a'] 5538\n",
      "list(a)[0]: 5538 time: 0.020084857940673828 lenp(ha): 0.4184473897754936 rate: 0.04360807581690618 i: 806 ha.loc[0,'a'] 4164\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4164 time: 0.016017436981201172 lenp(ha): 0.4181769001893427 rate: 0.04360330625813806 i: 807 ha.loc[0,'a'] 5185\n",
      "list(a)[0]: 5185 time: 0.16025280952453613 lenp(ha): 0.41763592101704083 rate: 0.043536532435384405 i: 808 ha.loc[0,'a'] 4920\n",
      "list(a)[0]: 4920 time: 0.021084070205688477 lenp(ha): 0.4173654314308899 rate: 0.04353176287661628 i: 809 ha.loc[0,'a'] 6262\n",
      "list(a)[0]: 6262 time: 0.05370736122131348 lenp(ha): 0.41682445225858805 rate: 0.043512684641543814 i: 810 ha.loc[0,'a'] 8454\n",
      "list(a)[0]: 8454 time: 0.015040159225463867 lenp(ha): 0.4165539626724371 rate: 0.04350791508277569 i: 811 ha.loc[0,'a'] 7417\n",
      "list(a)[0]: 7417 time: 0.020563125610351562 lenp(ha): 0.41628347308628616 rate: 0.04350314552400757 i: 812 ha.loc[0,'a'] 8703\n",
      "list(a)[0]: 8703 time: 0.0180819034576416 lenp(ha): 0.41601298350013527 rate: 0.04349837596523946 i: 813 ha.loc[0,'a'] 6394\n",
      "list(a)[0]: 6394 time: 0.16563773155212402 lenp(ha): 0.4154720043278334 rate: 0.04340775434864521 i: 814 ha.loc[0,'a'] 1864\n",
      "list(a)[0]: 1864 time: 0.027070283889770508 lenp(ha): 0.41520151474168243 rate: 0.04339821523110897 i: 815 ha.loc[0,'a'] 3666\n",
      "list(a)[0]: 3666 time: 0.029108047485351562 lenp(ha): 0.4149310251555315 rate: 0.043388676113572736 i: 816 ha.loc[0,'a'] 6964\n",
      "list(a)[0]: 6964 time: 0.04117846488952637 lenp(ha): 0.4146605355693806 rate: 0.043379136996036495 i: 817 ha.loc[0,'a'] 1242\n",
      "list(a)[0]: 1242 time: 0.031116247177124023 lenp(ha): 0.41439004598322965 rate: 0.04336959787850026 i: 818 ha.loc[0,'a'] 1676\n",
      "list(a)[0]: 1676 time: 0.029071331024169922 lenp(ha): 0.4141195563970787 rate: 0.04336005876096402 i: 819 ha.loc[0,'a'] 6342\n",
      "list(a)[0]: 6342 time: 0.03710651397705078 lenp(ha): 0.41384906681092776 rate: 0.04335051964342779 i: 820 ha.loc[0,'a'] 6915\n",
      "list(a)[0]: 6915 time: 0.02005314826965332 lenp(ha): 0.41357857722477687 rate: 0.04334098052589155 i: 821 ha.loc[0,'a'] 6919\n",
      "list(a)[0]: 6919 time: 0.02256941795349121 lenp(ha): 0.4133080876386259 rate: 0.04333144140835531 i: 822 ha.loc[0,'a'] 2998\n",
      "list(a)[0]: 2998 time: 0.021079540252685547 lenp(ha): 0.413037598052475 rate: 0.04332190229081908 i: 823 ha.loc[0,'a'] 4502\n",
      "list(a)[0]: 4502 time: 0.030080080032348633 lenp(ha): 0.41276710846632403 rate: 0.04331236317328284 i: 824 ha.loc[0,'a'] 5940\n",
      "list(a)[0]: 5940 time: 0.029253244400024414 lenp(ha): 0.41249661888017314 rate: 0.043302824055746605 i: 825 ha.loc[0,'a'] 2295\n",
      "list(a)[0]: 2295 time: 0.030086755752563477 lenp(ha): 0.4122261292940222 rate: 0.043293284938210365 i: 826 ha.loc[0,'a'] 1725\n",
      "list(a)[0]: 1725 time: 0.028074264526367188 lenp(ha): 0.41195563970787125 rate: 0.04328374582067413 i: 827 ha.loc[0,'a'] 4792\n",
      "list(a)[0]: 4792 time: 0.02606797218322754 lenp(ha): 0.4116851501217203 rate: 0.04327420670313789 i: 828 ha.loc[0,'a'] 3326\n",
      "list(a)[0]: 3326 time: 0.031094074249267578 lenp(ha): 0.41141466053556935 rate: 0.04326466758560166 i: 829 ha.loc[0,'a'] 8425\n",
      "list(a)[0]: 8425 time: 0.020051956176757812 lenp(ha): 0.41114417094941846 rate: 0.04325512846806542 i: 830 ha.loc[0,'a'] 2975\n",
      "list(a)[0]: 2975 time: 0.025068044662475586 lenp(ha): 0.4108736813632675 rate: 0.04324558935052918 i: 831 ha.loc[0,'a'] 951\n",
      "list(a)[0]: 951 time: 0.20210909843444824 lenp(ha): 0.4103327021909656 rate: 0.043154967733934936 i: 832 ha.loc[0,'a'] 3781\n",
      "list(a)[0]: 3781 time: 0.03812742233276367 lenp(ha): 0.41006221260481474 rate: 0.043145428616398696 i: 833 ha.loc[0,'a'] 5709\n",
      "list(a)[0]: 5709 time: 0.5996608734130859 lenp(ha): 0.40870976467406006 rate: 0.04289264200168842 i: 834 ha.loc[0,'a'] 235\n",
      "list(a)[0]: 235 time: 0.0320894718170166 lenp(ha): 0.4084392750879091 rate: 0.04288310288415219 i: 835 ha.loc[0,'a'] 4848\n",
      "list(a)[0]: 4848 time: 0.030080556869506836 lenp(ha): 0.40816878550175817 rate: 0.04287356376661595 i: 836 ha.loc[0,'a'] 1493\n",
      "list(a)[0]: 1493 time: 0.025067567825317383 lenp(ha): 0.4078982959156072 rate: 0.042864024649079714 i: 837 ha.loc[0,'a'] 7762\n",
      "list(a)[0]: 7762 time: 0.0290830135345459 lenp(ha): 0.40762780632945633 rate: 0.042854485531543474 i: 838 ha.loc[0,'a'] 6169\n",
      "list(a)[0]: 6169 time: 0.027072429656982422 lenp(ha): 0.4073573167433054 rate: 0.04284494641400724 i: 839 ha.loc[0,'a'] 4757\n",
      "list(a)[0]: 4757 time: 0.04611992835998535 lenp(ha): 0.40708682715715444 rate: 0.042835407296471006 i: 840 ha.loc[0,'a'] 6439\n",
      "list(a)[0]: 6439 time: 0.020077943801879883 lenp(ha): 0.4068163375710035 rate: 0.042825868178934766 i: 841 ha.loc[0,'a'] 1687\n",
      "list(a)[0]: 1687 time: 0.03343844413757324 lenp(ha): 0.4065458479848526 rate: 0.04281632906139853 i: 842 ha.loc[0,'a'] 8389\n",
      "list(a)[0]: 8389 time: 0.036103248596191406 lenp(ha): 0.40627535839870166 rate: 0.04280678994386229 i: 843 ha.loc[0,'a'] 7859\n",
      "list(a)[0]: 7859 time: 0.030084848403930664 lenp(ha): 0.4060048688125507 rate: 0.04279725082632606 i: 844 ha.loc[0,'a'] 6153\n",
      "list(a)[0]: 6153 time: 0.023056507110595703 lenp(ha): 0.40573437922639977 rate: 0.04278771170878982 i: 845 ha.loc[0,'a'] 6760\n",
      "list(a)[0]: 6760 time: 0.035040855407714844 lenp(ha): 0.4054638896402489 rate: 0.042778172591253584 i: 846 ha.loc[0,'a'] 3975\n",
      "list(a)[0]: 3975 time: 0.032117605209350586 lenp(ha): 0.40519340005409793 rate: 0.042768633473717343 i: 847 ha.loc[0,'a'] 5815\n",
      "list(a)[0]: 5815 time: 0.020050764083862305 lenp(ha): 0.404922910467947 rate: 0.04275909435618111 i: 848 ha.loc[0,'a'] 3647\n",
      "list(a)[0]: 3647 time: 0.035057783126831055 lenp(ha): 0.40465242088179604 rate: 0.042749555238644876 i: 849 ha.loc[0,'a'] 6743\n",
      "list(a)[0]: 6743 time: 0.02607131004333496 lenp(ha): 0.4043819312956451 rate: 0.042740016121108636 i: 850 ha.loc[0,'a'] 321\n",
      "list(a)[0]: 321 time: 0.020583391189575195 lenp(ha): 0.4041114417094942 rate: 0.0427304770035724 i: 851 ha.loc[0,'a'] 8088\n",
      "list(a)[0]: 8088 time: 0.02904510498046875 lenp(ha): 0.40384095212334326 rate: 0.04272093788603616 i: 852 ha.loc[0,'a'] 5144\n",
      "list(a)[0]: 5144 time: 0.022027254104614258 lenp(ha): 0.4035704625371923 rate: 0.04271139876849993 i: 853 ha.loc[0,'a'] 2735\n",
      "list(a)[0]: 2735 time: 0.018048763275146484 lenp(ha): 0.40329997295104136 rate: 0.04270185965096369 i: 854 ha.loc[0,'a'] 4056\n",
      "list(a)[0]: 4056 time: 0.02306079864501953 lenp(ha): 0.4030294833648905 rate: 0.042692320533427454 i: 855 ha.loc[0,'a'] 3370\n",
      "list(a)[0]: 3370 time: 0.02807307243347168 lenp(ha): 0.4027589937787395 rate: 0.04268278141589121 i: 856 ha.loc[0,'a'] 3018\n",
      "list(a)[0]: 3018 time: 0.027074337005615234 lenp(ha): 0.4024885041925886 rate: 0.04267324229835498 i: 857 ha.loc[0,'a'] 2868\n",
      "list(a)[0]: 2868 time: 0.024119138717651367 lenp(ha): 0.40221801460643763 rate: 0.04266370318081874 i: 858 ha.loc[0,'a'] 1307\n",
      "list(a)[0]: 1307 time: 0.03004908561706543 lenp(ha): 0.40194752502028674 rate: 0.042654164063282506 i: 859 ha.loc[0,'a'] 8630\n",
      "list(a)[0]: 8630 time: 0.02205681800842285 lenp(ha): 0.4016770354341358 rate: 0.04264462494574627 i: 860 ha.loc[0,'a'] 3465\n",
      "list(a)[0]: 3465 time: 0.027693510055541992 lenp(ha): 0.40140654584798485 rate: 0.04263508582821003 i: 861 ha.loc[0,'a'] 5936\n",
      "list(a)[0]: 5936 time: 0.0315859317779541 lenp(ha): 0.4011360562618339 rate: 0.0426255467106738 i: 862 ha.loc[0,'a'] 3829\n",
      "list(a)[0]: 3829 time: 0.04113626480102539 lenp(ha): 0.40086556667568296 rate: 0.04261600759313756 i: 863 ha.loc[0,'a'] 8177\n",
      "list(a)[0]: 8177 time: 0.03206992149353027 lenp(ha): 0.40059507708953207 rate: 0.042606468475601324 i: 864 ha.loc[0,'a'] 7452\n",
      "list(a)[0]: 7452 time: 0.02209019660949707 lenp(ha): 0.4003245875033811 rate: 0.04259692935806508 i: 865 ha.loc[0,'a'] 7968\n",
      "list(a)[0]: 7968 time: 0.03311896324157715 lenp(ha): 0.4000540979172302 rate: 0.04258739024052885 i: 866 ha.loc[0,'a'] 7882\n",
      "list(a)[0]: 7882 time: 0.02910327911376953 lenp(ha): 0.39978360833107923 rate: 0.04257785112299261 i: 867 ha.loc[0,'a'] 4021\n",
      "list(a)[0]: 4021 time: 0.027102947235107422 lenp(ha): 0.39951311874492834 rate: 0.042568312005456375 i: 868 ha.loc[0,'a'] 8606\n",
      "list(a)[0]: 8606 time: 0.029738187789916992 lenp(ha): 0.3992426291587774 rate: 0.04255877288792014 i: 869 ha.loc[0,'a'] 4818\n",
      "list(a)[0]: 4818 time: 0.02760910987854004 lenp(ha): 0.39897213957262645 rate: 0.0425492337703839 i: 870 ha.loc[0,'a'] 6676\n",
      "list(a)[0]: 6676 time: 0.02607131004333496 lenp(ha): 0.3987016499864755 rate: 0.04253969465284767 i: 871 ha.loc[0,'a'] 5845\n",
      "list(a)[0]: 5845 time: 0.030081748962402344 lenp(ha): 0.3984311604003246 rate: 0.04253015553531143 i: 872 ha.loc[0,'a'] 2067\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 2067 time: 0.020055532455444336 lenp(ha): 0.39816067081417367 rate: 0.042520616417775194 i: 873 ha.loc[0,'a'] 7075\n",
      "list(a)[0]: 7075 time: 0.030585765838623047 lenp(ha): 0.3978901812280227 rate: 0.04251107730023895 i: 874 ha.loc[0,'a'] 2583\n",
      "list(a)[0]: 2583 time: 0.02105569839477539 lenp(ha): 0.3976196916418718 rate: 0.04250153818270272 i: 875 ha.loc[0,'a'] 8237\n",
      "list(a)[0]: 8237 time: 0.021225452423095703 lenp(ha): 0.39734920205572083 rate: 0.04249199906516648 i: 876 ha.loc[0,'a'] 311\n",
      "list(a)[0]: 311 time: 0.03209090232849121 lenp(ha): 0.39707871246956994 rate: 0.042482459947630245 i: 877 ha.loc[0,'a'] 5460\n",
      "list(a)[0]: 5460 time: 0.03405499458312988 lenp(ha): 0.396808222883419 rate: 0.042472920830094005 i: 878 ha.loc[0,'a'] 7294\n",
      "list(a)[0]: 7294 time: 0.03809952735900879 lenp(ha): 0.39653773329726805 rate: 0.04246338171255777 i: 879 ha.loc[0,'a'] 3276\n",
      "list(a)[0]: 3276 time: 0.02105569839477539 lenp(ha): 0.3962672437111171 rate: 0.04245384259502154 i: 880 ha.loc[0,'a'] 6881\n",
      "list(a)[0]: 6881 time: 0.020557165145874023 lenp(ha): 0.3959967541249662 rate: 0.0424443034774853 i: 881 ha.loc[0,'a'] 8494\n",
      "list(a)[0]: 8494 time: 0.04211115837097168 lenp(ha): 0.39572626453881526 rate: 0.04243476435994906 i: 882 ha.loc[0,'a'] 7591\n",
      "list(a)[0]: 7591 time: 0.031081199645996094 lenp(ha): 0.3954557749526643 rate: 0.04242522524241282 i: 883 ha.loc[0,'a'] 5608\n",
      "list(a)[0]: 5608 time: 0.03010869026184082 lenp(ha): 0.3951852853665134 rate: 0.04241568612487659 i: 884 ha.loc[0,'a'] 4858\n",
      "list(a)[0]: 4858 time: 0.028110027313232422 lenp(ha): 0.3949147957803625 rate: 0.04240614700734035 i: 885 ha.loc[0,'a'] 1723\n",
      "list(a)[0]: 1723 time: 0.02958226203918457 lenp(ha): 0.39464430619421154 rate: 0.042396607889804115 i: 886 ha.loc[0,'a'] 3787\n",
      "list(a)[0]: 3787 time: 0.020026683807373047 lenp(ha): 0.3943738166080606 rate: 0.042387068772267875 i: 887 ha.loc[0,'a'] 3470\n",
      "list(a)[0]: 3470 time: 0.027039527893066406 lenp(ha): 0.39410332702190964 rate: 0.04237752965473164 i: 888 ha.loc[0,'a'] 879\n",
      "list(a)[0]: 879 time: 0.030119657516479492 lenp(ha): 0.3938328374357587 rate: 0.04236799053719541 i: 889 ha.loc[0,'a'] 4710\n",
      "list(a)[0]: 4710 time: 0.21363282203674316 lenp(ha): 0.39329185826345686 rate: 0.0422630602442968 i: 890 ha.loc[0,'a'] 1724\n",
      "list(a)[0]: 1724 time: 0.029103755950927734 lenp(ha): 0.3930213686773059 rate: 0.04225352112676056 i: 891 ha.loc[0,'a'] 6951\n",
      "list(a)[0]: 6951 time: 0.028102636337280273 lenp(ha): 0.39275087909115497 rate: 0.04224398200922433 i: 892 ha.loc[0,'a'] 223\n",
      "list(a)[0]: 223 time: 0.03556561470031738 lenp(ha): 0.3924803895050041 rate: 0.04223444289168809 i: 893 ha.loc[0,'a'] 48\n",
      "list(a)[0]: 48 time: 0.03011012077331543 lenp(ha): 0.39220989991885313 rate: 0.042224903774151855 i: 894 ha.loc[0,'a'] 6731\n",
      "list(a)[0]: 6731 time: 0.028099536895751953 lenp(ha): 0.3919394103327022 rate: 0.042215364656615614 i: 895 ha.loc[0,'a'] 4593\n",
      "list(a)[0]: 4593 time: 0.03612923622131348 lenp(ha): 0.39166892074655124 rate: 0.04220582553907938 i: 896 ha.loc[0,'a'] 1250\n",
      "list(a)[0]: 1250 time: 0.03008580207824707 lenp(ha): 0.39139843116040035 rate: 0.04219628642154314 i: 897 ha.loc[0,'a'] 7670\n",
      "list(a)[0]: 7670 time: 0.02910614013671875 lenp(ha): 0.3911279415742494 rate: 0.04218674730400691 i: 898 ha.loc[0,'a'] 6398\n",
      "list(a)[0]: 6398 time: 0.041081905364990234 lenp(ha): 0.39085745198809846 rate: 0.04217720818647067 i: 899 ha.loc[0,'a'] 245\n",
      "list(a)[0]: 245 time: 0.028076171875 lenp(ha): 0.3905869624019475 rate: 0.04216766906893443 i: 900 ha.loc[0,'a'] 5685\n",
      "list(a)[0]: 5685 time: 0.030585289001464844 lenp(ha): 0.39031647281579657 rate: 0.0421581299513982 i: 901 ha.loc[0,'a'] 841\n",
      "list(a)[0]: 841 time: 0.02306079864501953 lenp(ha): 0.3900459832296457 rate: 0.04214859083386196 i: 902 ha.loc[0,'a'] 3762\n",
      "list(a)[0]: 3762 time: 0.023060083389282227 lenp(ha): 0.38977549364349473 rate: 0.042139051716325725 i: 903 ha.loc[0,'a'] 6560\n",
      "list(a)[0]: 6560 time: 0.0299530029296875 lenp(ha): 0.3895050040573438 rate: 0.042129512598789484 i: 904 ha.loc[0,'a'] 5275\n",
      "list(a)[0]: 5275 time: 0.03409147262573242 lenp(ha): 0.38923451447119284 rate: 0.04211997348125325 i: 905 ha.loc[0,'a'] 4414\n",
      "list(a)[0]: 4414 time: 0.027070045471191406 lenp(ha): 0.38896402488504195 rate: 0.04211043436371701 i: 906 ha.loc[0,'a'] 2092\n",
      "list(a)[0]: 2092 time: 0.02810072898864746 lenp(ha): 0.388693535298891 rate: 0.042100895246180776 i: 907 ha.loc[0,'a'] 1533\n",
      "list(a)[0]: 1533 time: 0.03811025619506836 lenp(ha): 0.38842304571274006 rate: 0.042091356128644536 i: 908 ha.loc[0,'a'] 3871\n",
      "list(a)[0]: 3871 time: 0.02910470962524414 lenp(ha): 0.3881525561265891 rate: 0.0420818170111083 i: 909 ha.loc[0,'a'] 8151\n",
      "list(a)[0]: 8151 time: 0.027098417282104492 lenp(ha): 0.3878820665404382 rate: 0.04207227789357207 i: 910 ha.loc[0,'a'] 222\n",
      "list(a)[0]: 222 time: 0.028310298919677734 lenp(ha): 0.3876115769542873 rate: 0.04206273877603583 i: 911 ha.loc[0,'a'] 6989\n",
      "list(a)[0]: 6989 time: 0.030086994171142578 lenp(ha): 0.3873410873681363 rate: 0.042053199658499595 i: 912 ha.loc[0,'a'] 8046\n",
      "list(a)[0]: 8046 time: 0.03258943557739258 lenp(ha): 0.3870705977819854 rate: 0.042043660540963354 i: 913 ha.loc[0,'a'] 2210\n",
      "list(a)[0]: 2210 time: 0.027070999145507812 lenp(ha): 0.38680010819583444 rate: 0.04203412142342712 i: 914 ha.loc[0,'a'] 3495\n",
      "list(a)[0]: 3495 time: 0.18099355697631836 lenp(ha): 0.3862591290235326 rate: 0.041981656276977815 i: 915 ha.loc[0,'a'] 4964\n",
      "list(a)[0]: 4964 time: 0.02707219123840332 lenp(ha): 0.38598863943738165 rate: 0.04197211715944158 i: 916 ha.loc[0,'a'] 8057\n",
      "list(a)[0]: 8057 time: 0.01905059814453125 lenp(ha): 0.3857181498512307 rate: 0.04196257804190534 i: 917 ha.loc[0,'a'] 4882\n",
      "list(a)[0]: 4882 time: 0.044692277908325195 lenp(ha): 0.3854476602650798 rate: 0.04195303892436911 i: 918 ha.loc[0,'a'] 8423\n",
      "list(a)[0]: 8423 time: 0.028580188751220703 lenp(ha): 0.38517717067892887 rate: 0.04194349980683287 i: 919 ha.loc[0,'a'] 3122\n",
      "list(a)[0]: 3122 time: 0.029076099395751953 lenp(ha): 0.3849066810927779 rate: 0.04193396068929663 i: 920 ha.loc[0,'a'] 7251\n",
      "list(a)[0]: 7251 time: 0.03108048439025879 lenp(ha): 0.384636191506627 rate: 0.0419244215717604 i: 921 ha.loc[0,'a'] 5077\n",
      "list(a)[0]: 5077 time: 0.026128768920898438 lenp(ha): 0.3843657019204761 rate: 0.04191488245422416 i: 922 ha.loc[0,'a'] 5468\n",
      "list(a)[0]: 5468 time: 0.02704620361328125 lenp(ha): 0.38409521233432514 rate: 0.041905343336687925 i: 923 ha.loc[0,'a'] 4705\n",
      "list(a)[0]: 4705 time: 0.02005481719970703 lenp(ha): 0.3838247227481742 rate: 0.041895804219151685 i: 924 ha.loc[0,'a'] 2810\n",
      "list(a)[0]: 2810 time: 0.017075538635253906 lenp(ha): 0.38355423316202325 rate: 0.04188626510161545 i: 925 ha.loc[0,'a'] 2647\n",
      "list(a)[0]: 2647 time: 0.02606987953186035 lenp(ha): 0.3832837435758723 rate: 0.041881495542847334 i: 926 ha.loc[0,'a'] 5574\n",
      "list(a)[0]: 5574 time: 0.027069807052612305 lenp(ha): 0.3830132539897214 rate: 0.041871956425311094 i: 927 ha.loc[0,'a'] 3450\n",
      "list(a)[0]: 3450 time: 0.03871583938598633 lenp(ha): 0.38274276440357047 rate: 0.04186241730777486 i: 928 ha.loc[0,'a'] 5176\n",
      "list(a)[0]: 5176 time: 0.0358281135559082 lenp(ha): 0.3824722748174195 rate: 0.04185287819023862 i: 929 ha.loc[0,'a'] 6223\n",
      "list(a)[0]: 6223 time: 0.033089399337768555 lenp(ha): 0.3822017852312686 rate: 0.041843339072702386 i: 930 ha.loc[0,'a'] 8380\n",
      "list(a)[0]: 8380 time: 0.037069082260131836 lenp(ha): 0.3819312956451177 rate: 0.041833799955166145 i: 931 ha.loc[0,'a'] 2576\n",
      "list(a)[0]: 2576 time: 0.026036977767944336 lenp(ha): 0.38166080605896674 rate: 0.04182426083762991 i: 932 ha.loc[0,'a'] 531\n",
      "list(a)[0]: 531 time: 0.03610849380493164 lenp(ha): 0.3813903164728158 rate: 0.04181472172009367 i: 933 ha.loc[0,'a'] 6501\n",
      "list(a)[0]: 6501 time: 0.04111361503601074 lenp(ha): 0.38111982688666485 rate: 0.04180518260255744 i: 934 ha.loc[0,'a'] 7437\n",
      "list(a)[0]: 7437 time: 0.030111074447631836 lenp(ha): 0.38084933730051396 rate: 0.041795643485021204 i: 935 ha.loc[0,'a'] 5654\n",
      "list(a)[0]: 5654 time: 0.027103424072265625 lenp(ha): 0.380578847714363 rate: 0.041786104367484964 i: 936 ha.loc[0,'a'] 5572\n",
      "list(a)[0]: 5572 time: 0.0361020565032959 lenp(ha): 0.38030835812821207 rate: 0.04177656524994873 i: 937 ha.loc[0,'a'] 1895\n",
      "list(a)[0]: 1895 time: 0.08325695991516113 lenp(ha): 0.3797673789559102 rate: 0.04173840877980378 i: 938 ha.loc[0,'a'] 3290\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3290 time: 0.10230374336242676 lenp(ha): 0.37922639978360834 rate: 0.04170502186842695 i: 939 ha.loc[0,'a'] 3426\n",
      "list(a)[0]: 3426 time: 0.027096033096313477 lenp(ha): 0.3789559101974574 rate: 0.04169548275089072 i: 940 ha.loc[0,'a'] 7521\n",
      "list(a)[0]: 7521 time: 0.030104637145996094 lenp(ha): 0.37868542061130644 rate: 0.041685943633354476 i: 941 ha.loc[0,'a'] 36\n",
      "list(a)[0]: 36 time: 0.03710126876831055 lenp(ha): 0.37841493102515555 rate: 0.04167640451581824 i: 942 ha.loc[0,'a'] 6066\n",
      "list(a)[0]: 6066 time: 0.028662919998168945 lenp(ha): 0.3781444414390046 rate: 0.041666865398282 i: 943 ha.loc[0,'a'] 1122\n",
      "list(a)[0]: 1122 time: 0.021084070205688477 lenp(ha): 0.37787395185285366 rate: 0.04165732628074577 i: 944 ha.loc[0,'a'] 4675\n",
      "list(a)[0]: 4675 time: 0.03606367111206055 lenp(ha): 0.3776034622667027 rate: 0.041647787163209535 i: 945 ha.loc[0,'a'] 1760\n",
      "list(a)[0]: 1760 time: 0.028104066848754883 lenp(ha): 0.3773329726805518 rate: 0.041638248045673294 i: 946 ha.loc[0,'a'] 8626\n",
      "list(a)[0]: 8626 time: 0.0280916690826416 lenp(ha): 0.3770624830944009 rate: 0.04162870892813706 i: 947 ha.loc[0,'a'] 4167\n",
      "list(a)[0]: 4167 time: 0.045153141021728516 lenp(ha): 0.37679199350824993 rate: 0.04161916981060082 i: 948 ha.loc[0,'a'] 3281\n",
      "list(a)[0]: 3281 time: 0.032083749771118164 lenp(ha): 0.376521503922099 rate: 0.041609630693064587 i: 949 ha.loc[0,'a'] 1392\n",
      "list(a)[0]: 1392 time: 0.027071237564086914 lenp(ha): 0.37625101433594804 rate: 0.041600091575528346 i: 950 ha.loc[0,'a'] 1514\n",
      "list(a)[0]: 1514 time: 0.03491544723510742 lenp(ha): 0.37598052474979715 rate: 0.04159055245799211 i: 951 ha.loc[0,'a'] 8328\n",
      "list(a)[0]: 8328 time: 0.028081417083740234 lenp(ha): 0.3757100351636462 rate: 0.04158101334045587 i: 952 ha.loc[0,'a'] 3273\n",
      "list(a)[0]: 3273 time: 0.02707052230834961 lenp(ha): 0.37543954557749526 rate: 0.04157147422291964 i: 953 ha.loc[0,'a'] 7977\n",
      "list(a)[0]: 7977 time: 0.020053625106811523 lenp(ha): 0.3751690559913443 rate: 0.0415619351053834 i: 954 ha.loc[0,'a'] 1115\n",
      "list(a)[0]: 1115 time: 0.026071548461914062 lenp(ha): 0.3748985664051934 rate: 0.041552395987847164 i: 955 ha.loc[0,'a'] 7015\n",
      "list(a)[0]: 7015 time: 0.0280759334564209 lenp(ha): 0.3746280768190425 rate: 0.04154285687031093 i: 956 ha.loc[0,'a'] 3925\n",
      "list(a)[0]: 3925 time: 0.025066852569580078 lenp(ha): 0.37435758723289153 rate: 0.04153331775277469 i: 957 ha.loc[0,'a'] 4621\n",
      "list(a)[0]: 4621 time: 0.0280759334564209 lenp(ha): 0.3740870976467406 rate: 0.041523778635238456 i: 958 ha.loc[0,'a'] 5805\n",
      "list(a)[0]: 5805 time: 0.027054309844970703 lenp(ha): 0.3738166080605897 rate: 0.041514239517702216 i: 959 ha.loc[0,'a'] 3349\n",
      "list(a)[0]: 3349 time: 0.035094261169433594 lenp(ha): 0.37354611847443875 rate: 0.04150470040016598 i: 960 ha.loc[0,'a'] 5162\n",
      "list(a)[0]: 5162 time: 0.02506542205810547 lenp(ha): 0.3732756288882878 rate: 0.041499930841397865 i: 961 ha.loc[0,'a'] 71\n",
      "list(a)[0]: 71 time: 0.02757716178894043 lenp(ha): 0.37300513930213686 rate: 0.041490391723861625 i: 962 ha.loc[0,'a'] 854\n",
      "list(a)[0]: 854 time: 0.024593353271484375 lenp(ha): 0.3727346497159859 rate: 0.04148085260632539 i: 963 ha.loc[0,'a'] 2839\n",
      "list(a)[0]: 2839 time: 0.02205681800842285 lenp(ha): 0.372464160129835 rate: 0.04147131348878915 i: 964 ha.loc[0,'a'] 2117\n",
      "list(a)[0]: 2117 time: 0.019054889678955078 lenp(ha): 0.3721936705436841 rate: 0.04146177437125292 i: 965 ha.loc[0,'a'] 8121\n",
      "list(a)[0]: 8121 time: 0.0315854549407959 lenp(ha): 0.37192318095753313 rate: 0.04145223525371668 i: 966 ha.loc[0,'a'] 4826\n",
      "list(a)[0]: 4826 time: 0.028042316436767578 lenp(ha): 0.3716526913713822 rate: 0.04144269613618044 i: 967 ha.loc[0,'a'] 5583\n",
      "list(a)[0]: 5583 time: 0.028074264526367188 lenp(ha): 0.3713822017852313 rate: 0.0414331570186442 i: 968 ha.loc[0,'a'] 5486\n",
      "list(a)[0]: 5486 time: 0.041114091873168945 lenp(ha): 0.37111171219908035 rate: 0.04142361790110797 i: 969 ha.loc[0,'a'] 2613\n",
      "list(a)[0]: 2613 time: 0.028080463409423828 lenp(ha): 0.3708412226129294 rate: 0.04141407878357173 i: 970 ha.loc[0,'a'] 3675\n",
      "list(a)[0]: 3675 time: 0.020054340362548828 lenp(ha): 0.37057073302677845 rate: 0.041404539666035495 i: 971 ha.loc[0,'a'] 6601\n",
      "list(a)[0]: 6601 time: 0.031074047088623047 lenp(ha): 0.37030024344062756 rate: 0.04139500054849926 i: 972 ha.loc[0,'a'] 2321\n",
      "list(a)[0]: 2321 time: 0.020587682723999023 lenp(ha): 0.3700297538544766 rate: 0.04138546143096302 i: 973 ha.loc[0,'a'] 1751\n",
      "list(a)[0]: 1751 time: 0.029108047485351562 lenp(ha): 0.36975926426832567 rate: 0.04137592231342679 i: 974 ha.loc[0,'a'] 6923\n",
      "list(a)[0]: 6923 time: 0.031082630157470703 lenp(ha): 0.3694887746821747 rate: 0.041366383195890546 i: 975 ha.loc[0,'a'] 8162\n",
      "list(a)[0]: 8162 time: 0.028398752212524414 lenp(ha): 0.3692182850960238 rate: 0.04135684407835431 i: 976 ha.loc[0,'a'] 8225\n",
      "list(a)[0]: 8225 time: 0.024100542068481445 lenp(ha): 0.3689477955098729 rate: 0.04134730496081807 i: 977 ha.loc[0,'a'] 6329\n",
      "list(a)[0]: 6329 time: 0.0311129093170166 lenp(ha): 0.36867730592372194 rate: 0.04133776584328184 i: 978 ha.loc[0,'a'] 505\n",
      "list(a)[0]: 505 time: 0.03208589553833008 lenp(ha): 0.368406816337571 rate: 0.0413282267257456 i: 979 ha.loc[0,'a'] 2980\n",
      "list(a)[0]: 2980 time: 0.022562503814697266 lenp(ha): 0.36813632675142005 rate: 0.041318687608209365 i: 980 ha.loc[0,'a'] 8344\n",
      "list(a)[0]: 8344 time: 0.02007889747619629 lenp(ha): 0.36786583716526916 rate: 0.04130914849067313 i: 981 ha.loc[0,'a'] 4418\n",
      "list(a)[0]: 4418 time: 0.0200803279876709 lenp(ha): 0.3675953475791182 rate: 0.04129960937313689 i: 982 ha.loc[0,'a'] 8174\n",
      "list(a)[0]: 8174 time: 0.029104948043823242 lenp(ha): 0.36732485799296727 rate: 0.04129007025560066 i: 983 ha.loc[0,'a'] 6654\n",
      "list(a)[0]: 6654 time: 0.036103248596191406 lenp(ha): 0.3670543684068163 rate: 0.041280531138064416 i: 984 ha.loc[0,'a'] 7334\n",
      "list(a)[0]: 7334 time: 0.028074026107788086 lenp(ha): 0.36678387882066543 rate: 0.04127099202052818 i: 985 ha.loc[0,'a'] 3643\n",
      "list(a)[0]: 3643 time: 0.03005385398864746 lenp(ha): 0.3665133892345145 rate: 0.04126145290299194 i: 986 ha.loc[0,'a'] 7233\n",
      "list(a)[0]: 7233 time: 0.0380406379699707 lenp(ha): 0.36624289964836354 rate: 0.04125191378545571 i: 987 ha.loc[0,'a'] 4976\n",
      "list(a)[0]: 4976 time: 0.03008580207824707 lenp(ha): 0.3659724100622126 rate: 0.04124237466791947 i: 988 ha.loc[0,'a'] 8227\n",
      "list(a)[0]: 8227 time: 0.028577566146850586 lenp(ha): 0.36570192047606165 rate: 0.041232835550383234 i: 989 ha.loc[0,'a'] 2440\n",
      "list(a)[0]: 2440 time: 0.040105581283569336 lenp(ha): 0.36543143088991076 rate: 0.041223296432846994 i: 990 ha.loc[0,'a'] 6978\n",
      "list(a)[0]: 6978 time: 0.034087181091308594 lenp(ha): 0.3651609413037598 rate: 0.04121375731531076 i: 991 ha.loc[0,'a'] 5711\n",
      "list(a)[0]: 5711 time: 0.03509187698364258 lenp(ha): 0.36489045171760887 rate: 0.04120421819777453 i: 992 ha.loc[0,'a'] 2399\n",
      "list(a)[0]: 2399 time: 0.03911113739013672 lenp(ha): 0.3646199621314579 rate: 0.041194679080238286 i: 993 ha.loc[0,'a'] 487\n",
      "list(a)[0]: 487 time: 0.027577638626098633 lenp(ha): 0.36434947254530703 rate: 0.04118513996270205 i: 994 ha.loc[0,'a'] 2699\n",
      "list(a)[0]: 2699 time: 0.027291059494018555 lenp(ha): 0.3640789829591561 rate: 0.04117560084516581 i: 995 ha.loc[0,'a'] 3867\n",
      "list(a)[0]: 3867 time: 0.025213003158569336 lenp(ha): 0.36380849337300514 rate: 0.04116606172762958 i: 996 ha.loc[0,'a'] 6827\n",
      "list(a)[0]: 6827 time: 0.025572538375854492 lenp(ha): 0.3635380037868542 rate: 0.04115652261009334 i: 997 ha.loc[0,'a'] 6315\n",
      "list(a)[0]: 6315 time: 0.02807307243347168 lenp(ha): 0.36326751420070325 rate: 0.041146983492557104 i: 998 ha.loc[0,'a'] 1316\n",
      "list(a)[0]: 1316 time: 0.03211212158203125 lenp(ha): 0.36299702461455235 rate: 0.04114221393378899 i: 999 ha.loc[0,'a'] 4822\n",
      "list(a)[0]: 4822 time: 0.02066326141357422 lenp(ha): 0.3627265350284014 rate: 0.04113267481625275 i: 1000 ha.loc[0,'a'] 1769\n",
      "list(a)[0]: 1769 time: 0.02712225914001465 lenp(ha): 0.36245604544225046 rate: 0.04112313569871651 i: 1001 ha.loc[0,'a'] 1821\n",
      "list(a)[0]: 1821 time: 0.033089637756347656 lenp(ha): 0.3621855558560995 rate: 0.04111359658118027 i: 1002 ha.loc[0,'a'] 1098\n",
      "list(a)[0]: 1098 time: 0.02609419822692871 lenp(ha): 0.3619150662699486 rate: 0.04110405746364404 i: 1003 ha.loc[0,'a'] 3936\n",
      "list(a)[0]: 3936 time: 0.014716863632202148 lenp(ha): 0.3616445766837977 rate: 0.0410945183461078 i: 1004 ha.loc[0,'a'] 7734\n",
      "list(a)[0]: 7734 time: 0.0250399112701416 lenp(ha): 0.36137408709764673 rate: 0.041084979228571565 i: 1005 ha.loc[0,'a'] 5708\n",
      "list(a)[0]: 5708 time: 0.020051956176757812 lenp(ha): 0.3611035975114958 rate: 0.04107544011103533 i: 1006 ha.loc[0,'a'] 504\n",
      "list(a)[0]: 504 time: 0.028078794479370117 lenp(ha): 0.3608331079253449 rate: 0.04106590099349909 i: 1007 ha.loc[0,'a'] 2905\n",
      "list(a)[0]: 2905 time: 0.02704477310180664 lenp(ha): 0.36056261833919395 rate: 0.04105636187596286 i: 1008 ha.loc[0,'a'] 6338\n",
      "list(a)[0]: 6338 time: 0.028085947036743164 lenp(ha): 0.360292128753043 rate: 0.04104682275842662 i: 1009 ha.loc[0,'a'] 3062\n",
      "list(a)[0]: 3062 time: 0.030084609985351562 lenp(ha): 0.36002163916689206 rate: 0.04103728364089038 i: 1010 ha.loc[0,'a'] 2377\n",
      "list(a)[0]: 2377 time: 0.02713489532470703 lenp(ha): 0.3597511495807411 rate: 0.04102774452335414 i: 1011 ha.loc[0,'a'] 5687\n",
      "list(a)[0]: 5687 time: 0.024063587188720703 lenp(ha): 0.3594806599945902 rate: 0.04101820540581791 i: 1012 ha.loc[0,'a'] 6117\n",
      "list(a)[0]: 6117 time: 0.03910350799560547 lenp(ha): 0.3592101704084393 rate: 0.04100866628828167 i: 1013 ha.loc[0,'a'] 8850\n",
      "list(a)[0]: 8850 time: 0.03509402275085449 lenp(ha): 0.35893968082228833 rate: 0.040999127170745435 i: 1014 ha.loc[0,'a'] 914\n",
      "list(a)[0]: 914 time: 0.0270538330078125 lenp(ha): 0.3586691912361374 rate: 0.040989588053209194 i: 1015 ha.loc[0,'a'] 8419\n",
      "list(a)[0]: 8419 time: 0.020054340362548828 lenp(ha): 0.3583987016499865 rate: 0.04098004893567296 i: 1016 ha.loc[0,'a'] 8563\n",
      "list(a)[0]: 8563 time: 0.03311777114868164 lenp(ha): 0.35812821206383555 rate: 0.04097050981813673 i: 1017 ha.loc[0,'a'] 4653\n",
      "list(a)[0]: 4653 time: 0.029079437255859375 lenp(ha): 0.3578577224776846 rate: 0.04096097070060049 i: 1018 ha.loc[0,'a'] 1404\n",
      "list(a)[0]: 1404 time: 0.02762746810913086 lenp(ha): 0.35758723289153366 rate: 0.04095143158306425 i: 1019 ha.loc[0,'a'] 155\n",
      "list(a)[0]: 155 time: 0.034052371978759766 lenp(ha): 0.35731674330538277 rate: 0.04094189246552801 i: 1020 ha.loc[0,'a'] 8334\n",
      "list(a)[0]: 8334 time: 0.0240633487701416 lenp(ha): 0.3570462537192318 rate: 0.04093235334799178 i: 1021 ha.loc[0,'a'] 1409\n",
      "list(a)[0]: 1409 time: 0.027791500091552734 lenp(ha): 0.3567757641330809 rate: 0.04092281423045554 i: 1022 ha.loc[0,'a'] 7972\n",
      "list(a)[0]: 7972 time: 0.025098562240600586 lenp(ha): 0.35650527454692993 rate: 0.040913275112919305 i: 1023 ha.loc[0,'a'] 2845\n",
      "list(a)[0]: 2845 time: 0.029105424880981445 lenp(ha): 0.356234784960779 rate: 0.040903735995383064 i: 1024 ha.loc[0,'a'] 6138\n",
      "list(a)[0]: 6138 time: 0.03218197822570801 lenp(ha): 0.3559642953746281 rate: 0.04089419687784683 i: 1025 ha.loc[0,'a'] 2681\n",
      "list(a)[0]: 2681 time: 0.04376411437988281 lenp(ha): 0.35569380578847715 rate: 0.0408846577603106 i: 1026 ha.loc[0,'a'] 8487\n",
      "list(a)[0]: 8487 time: 0.04014229774475098 lenp(ha): 0.3554233162023262 rate: 0.040875118642774357 i: 1027 ha.loc[0,'a'] 346\n",
      "list(a)[0]: 346 time: 0.031083106994628906 lenp(ha): 0.35515282661617525 rate: 0.04086557952523812 i: 1028 ha.loc[0,'a'] 5387\n",
      "list(a)[0]: 5387 time: 0.02008509635925293 lenp(ha): 0.35488233703002436 rate: 0.04085604040770188 i: 1029 ha.loc[0,'a'] 1827\n",
      "list(a)[0]: 1827 time: 0.02205491065979004 lenp(ha): 0.3546118474438734 rate: 0.04084650129016565 i: 1030 ha.loc[0,'a'] 7119\n",
      "list(a)[0]: 7119 time: 0.04465913772583008 lenp(ha): 0.35434135785772247 rate: 0.04083696217262941 i: 1031 ha.loc[0,'a'] 8157\n",
      "list(a)[0]: 8157 time: 0.020054101943969727 lenp(ha): 0.3540708682715715 rate: 0.040827423055093175 i: 1032 ha.loc[0,'a'] 794\n",
      "list(a)[0]: 794 time: 0.12636613845825195 lenp(ha): 0.3535298890992697 rate: 0.04078449702618011 i: 1033 ha.loc[0,'a'] 8064\n",
      "list(a)[0]: 8064 time: 0.026117801666259766 lenp(ha): 0.35325939951311874 rate: 0.04077495790864387 i: 1034 ha.loc[0,'a'] 1730\n",
      "list(a)[0]: 1730 time: 0.03058600425720215 lenp(ha): 0.3529889099269678 rate: 0.040765418791107635 i: 1035 ha.loc[0,'a'] 7575\n",
      "list(a)[0]: 7575 time: 0.03709840774536133 lenp(ha): 0.35271842034081685 rate: 0.040755879673571395 i: 1036 ha.loc[0,'a'] 607\n",
      "list(a)[0]: 607 time: 0.028104543685913086 lenp(ha): 0.35244793075466596 rate: 0.04074634055603516 i: 1037 ha.loc[0,'a'] 1626\n",
      "list(a)[0]: 1626 time: 0.028167247772216797 lenp(ha): 0.352177441168515 rate: 0.04073680143849893 i: 1038 ha.loc[0,'a'] 3988\n",
      "list(a)[0]: 3988 time: 0.05615878105163574 lenp(ha): 0.35190695158236407 rate: 0.04072726232096269 i: 1039 ha.loc[0,'a'] 7183\n",
      "list(a)[0]: 7183 time: 0.03359198570251465 lenp(ha): 0.3516364619962131 rate: 0.040717723203426454 i: 1040 ha.loc[0,'a'] 1351\n",
      "list(a)[0]: 1351 time: 0.027579545974731445 lenp(ha): 0.35136597241006223 rate: 0.04070818408589021 i: 1041 ha.loc[0,'a'] 5903\n",
      "list(a)[0]: 5903 time: 0.031081676483154297 lenp(ha): 0.3510954828239113 rate: 0.04069864496835398 i: 1042 ha.loc[0,'a'] 1791\n",
      "list(a)[0]: 1791 time: 0.02707219123840332 lenp(ha): 0.35082499323776034 rate: 0.04068910585081774 i: 1043 ha.loc[0,'a'] 5414\n",
      "list(a)[0]: 5414 time: 0.018584728240966797 lenp(ha): 0.3505545036516094 rate: 0.040679566733281505 i: 1044 ha.loc[0,'a'] 6444\n",
      "list(a)[0]: 6444 time: 0.1208961009979248 lenp(ha): 0.35001352447930756 rate: 0.0406271015868322 i: 1045 ha.loc[0,'a'] 8056\n",
      "list(a)[0]: 8056 time: 0.036067962646484375 lenp(ha): 0.3497430348931566 rate: 0.040617562469295966 i: 1046 ha.loc[0,'a'] 2141\n",
      "list(a)[0]: 2141 time: 0.027907609939575195 lenp(ha): 0.34947254530700567 rate: 0.040608023351759726 i: 1047 ha.loc[0,'a'] 8228\n",
      "list(a)[0]: 8228 time: 0.028611421585083008 lenp(ha): 0.3492020557208547 rate: 0.04059848423422349 i: 1048 ha.loc[0,'a'] 4749\n",
      "list(a)[0]: 4749 time: 0.033621788024902344 lenp(ha): 0.34893156613470383 rate: 0.04058894511668726 i: 1049 ha.loc[0,'a'] 7516\n",
      "list(a)[0]: 7516 time: 0.027071714401245117 lenp(ha): 0.3486610765485529 rate: 0.04057940599915102 i: 1050 ha.loc[0,'a'] 6567\n",
      "list(a)[0]: 6567 time: 0.033621788024902344 lenp(ha): 0.34839058696240194 rate: 0.040569866881614784 i: 1051 ha.loc[0,'a'] 7297\n",
      "list(a)[0]: 7297 time: 0.0396122932434082 lenp(ha): 0.348120097376251 rate: 0.040560327764078544 i: 1052 ha.loc[0,'a'] 979\n",
      "list(a)[0]: 979 time: 0.027071237564086914 lenp(ha): 0.3478496077901001 rate: 0.04055078864654231 i: 1053 ha.loc[0,'a'] 2509\n",
      "list(a)[0]: 2509 time: 0.02709794044494629 lenp(ha): 0.34757911820394916 rate: 0.04054124952900607 i: 1054 ha.loc[0,'a'] 801\n",
      "list(a)[0]: 801 time: 0.03308892250061035 lenp(ha): 0.3473086286177982 rate: 0.040531710411469836 i: 1055 ha.loc[0,'a'] 3974\n",
      "list(a)[0]: 3974 time: 0.02009105682373047 lenp(ha): 0.34703813903164726 rate: 0.040522171293933595 i: 1056 ha.loc[0,'a'] 6010\n",
      "list(a)[0]: 6010 time: 0.029076337814331055 lenp(ha): 0.3467676494454964 rate: 0.04051263217639736 i: 1057 ha.loc[0,'a'] 5826\n",
      "list(a)[0]: 5826 time: 0.0240633487701416 lenp(ha): 0.3464971598593454 rate: 0.04050309305886113 i: 1058 ha.loc[0,'a'] 5344\n",
      "list(a)[0]: 5344 time: 0.026076078414916992 lenp(ha): 0.3462266702731945 rate: 0.04049355394132489 i: 1059 ha.loc[0,'a'] 6862\n",
      "list(a)[0]: 6862 time: 0.028074264526367188 lenp(ha): 0.34595618068704354 rate: 0.040484014823788654 i: 1060 ha.loc[0,'a'] 5609\n",
      "list(a)[0]: 5609 time: 0.03910493850708008 lenp(ha): 0.3456856911008926 rate: 0.040474475706252414 i: 1061 ha.loc[0,'a'] 2655\n",
      "list(a)[0]: 2655 time: 0.029581308364868164 lenp(ha): 0.3454152015147417 rate: 0.04046493658871618 i: 1062 ha.loc[0,'a'] 7411\n",
      "list(a)[0]: 7411 time: 0.0280759334564209 lenp(ha): 0.34514471192859075 rate: 0.04045539747117994 i: 1063 ha.loc[0,'a'] 1420\n",
      "list(a)[0]: 1420 time: 0.038127899169921875 lenp(ha): 0.3448742223424398 rate: 0.040445858353643706 i: 1064 ha.loc[0,'a'] 14\n",
      "list(a)[0]: 14 time: 0.023061513900756836 lenp(ha): 0.34460373275628886 rate: 0.040436319236107465 i: 1065 ha.loc[0,'a'] 409\n",
      "list(a)[0]: 409 time: 0.04061102867126465 lenp(ha): 0.34433324317013797 rate: 0.04042678011857123 i: 1066 ha.loc[0,'a'] 229\n",
      "list(a)[0]: 229 time: 0.02657341957092285 lenp(ha): 0.344062753583987 rate: 0.04041724100103499 i: 1067 ha.loc[0,'a'] 8696\n",
      "list(a)[0]: 8696 time: 0.028072357177734375 lenp(ha): 0.3437922639978361 rate: 0.04040770188349876 i: 1068 ha.loc[0,'a'] 5473\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 5473 time: 0.0270998477935791 lenp(ha): 0.34352177441168513 rate: 0.040398162765962524 i: 1069 ha.loc[0,'a'] 8322\n",
      "list(a)[0]: 8322 time: 0.03663206100463867 lenp(ha): 0.34325128482553424 rate: 0.04038862364842628 i: 1070 ha.loc[0,'a'] 554\n",
      "list(a)[0]: 554 time: 0.02809739112854004 lenp(ha): 0.3429807952393833 rate: 0.04037908453089005 i: 1071 ha.loc[0,'a'] 1784\n",
      "list(a)[0]: 1784 time: 0.029076814651489258 lenp(ha): 0.34271030565323235 rate: 0.04036954541335381 i: 1072 ha.loc[0,'a'] 152\n",
      "list(a)[0]: 152 time: 0.024066448211669922 lenp(ha): 0.3424398160670814 rate: 0.040360006295817576 i: 1073 ha.loc[0,'a'] 4462\n",
      "list(a)[0]: 4462 time: 0.020555734634399414 lenp(ha): 0.34216932648093046 rate: 0.040350467178281335 i: 1074 ha.loc[0,'a'] 308\n",
      "list(a)[0]: 308 time: 0.033087730407714844 lenp(ha): 0.34189883689477957 rate: 0.0403409280607451 i: 1075 ha.loc[0,'a'] 5930\n",
      "list(a)[0]: 5930 time: 0.029108524322509766 lenp(ha): 0.3416283473086286 rate: 0.04033138894320886 i: 1076 ha.loc[0,'a'] 8112\n",
      "list(a)[0]: 8112 time: 0.04712486267089844 lenp(ha): 0.3413578577224777 rate: 0.04032184982567263 i: 1077 ha.loc[0,'a'] 8576\n",
      "list(a)[0]: 8576 time: 0.028569459915161133 lenp(ha): 0.34108736813632673 rate: 0.04031231070813639 i: 1078 ha.loc[0,'a'] 7634\n",
      "list(a)[0]: 7634 time: 0.10231733322143555 lenp(ha): 0.3405463889640249 rate: 0.040274154237991446 i: 1079 ha.loc[0,'a'] 8714\n",
      "list(a)[0]: 8714 time: 0.034120798110961914 lenp(ha): 0.34027589937787395 rate: 0.040264615120455205 i: 1080 ha.loc[0,'a'] 6348\n",
      "list(a)[0]: 6348 time: 0.02709794044494629 lenp(ha): 0.340005409791723 rate: 0.04025507600291897 i: 1081 ha.loc[0,'a'] 1110\n",
      "list(a)[0]: 1110 time: 0.028079986572265625 lenp(ha): 0.3397349202055721 rate: 0.04024553688538273 i: 1082 ha.loc[0,'a'] 2375\n",
      "list(a)[0]: 2375 time: 0.037099361419677734 lenp(ha): 0.33946443061942116 rate: 0.0402359977678465 i: 1083 ha.loc[0,'a'] 4922\n",
      "list(a)[0]: 4922 time: 0.02105712890625 lenp(ha): 0.3391939410332702 rate: 0.04022645865031026 i: 1084 ha.loc[0,'a'] 6364\n",
      "list(a)[0]: 6364 time: 0.02657485008239746 lenp(ha): 0.3389234514471193 rate: 0.04021691953277402 i: 1085 ha.loc[0,'a'] 5938\n",
      "list(a)[0]: 5938 time: 0.028074026107788086 lenp(ha): 0.3386529618609683 rate: 0.04020738041523779 i: 1086 ha.loc[0,'a'] 1647\n",
      "list(a)[0]: 1647 time: 0.03310847282409668 lenp(ha): 0.33838247227481744 rate: 0.04019784129770155 i: 1087 ha.loc[0,'a'] 6922\n",
      "list(a)[0]: 6922 time: 0.035128116607666016 lenp(ha): 0.3381119826886665 rate: 0.040188302180165315 i: 1088 ha.loc[0,'a'] 6658\n",
      "list(a)[0]: 6658 time: 0.028071165084838867 lenp(ha): 0.33784149310251554 rate: 0.040178763062629075 i: 1089 ha.loc[0,'a'] 2757\n",
      "list(a)[0]: 2757 time: 0.029085397720336914 lenp(ha): 0.3375710035163646 rate: 0.04016922394509284 i: 1090 ha.loc[0,'a'] 4867\n",
      "list(a)[0]: 4867 time: 0.037604331970214844 lenp(ha): 0.3373005139302137 rate: 0.0401596848275566 i: 1091 ha.loc[0,'a'] 3328\n",
      "list(a)[0]: 3328 time: 0.03258991241455078 lenp(ha): 0.33703002434406276 rate: 0.04015014571002037 i: 1092 ha.loc[0,'a'] 965\n",
      "list(a)[0]: 965 time: 0.03208446502685547 lenp(ha): 0.3367595347579118 rate: 0.04014060659248413 i: 1093 ha.loc[0,'a'] 3845\n",
      "list(a)[0]: 3845 time: 0.020053625106811523 lenp(ha): 0.33648904517176087 rate: 0.04013106747494789 i: 1094 ha.loc[0,'a'] 1109\n",
      "list(a)[0]: 1109 time: 0.029079914093017578 lenp(ha): 0.33621855558561 rate: 0.04012152835741165 i: 1095 ha.loc[0,'a'] 21\n",
      "list(a)[0]: 21 time: 0.027078866958618164 lenp(ha): 0.33594806599945903 rate: 0.04011198923987542 i: 1096 ha.loc[0,'a'] 825\n",
      "list(a)[0]: 825 time: 0.03910422325134277 lenp(ha): 0.3356775764133081 rate: 0.040102450122339185 i: 1097 ha.loc[0,'a'] 1414\n",
      "list(a)[0]: 1414 time: 0.032086849212646484 lenp(ha): 0.33540708682715714 rate: 0.040092911004802945 i: 1098 ha.loc[0,'a'] 3631\n",
      "list(a)[0]: 3631 time: 0.031083106994628906 lenp(ha): 0.3351365972410062 rate: 0.04008337188726671 i: 1099 ha.loc[0,'a'] 3724\n",
      "list(a)[0]: 3724 time: 0.0427546501159668 lenp(ha): 0.3348661076548553 rate: 0.04007383276973047 i: 1100 ha.loc[0,'a'] 6243\n",
      "list(a)[0]: 6243 time: 0.030084848403930664 lenp(ha): 0.33459561806870436 rate: 0.04006429365219424 i: 1101 ha.loc[0,'a'] 7103\n",
      "list(a)[0]: 7103 time: 0.020050764083862305 lenp(ha): 0.3343251284825534 rate: 0.040054754534657996 i: 1102 ha.loc[0,'a'] 7896\n",
      "list(a)[0]: 7896 time: 0.041109323501586914 lenp(ha): 0.33405463889640247 rate: 0.04004521541712176 i: 1103 ha.loc[0,'a'] 4033\n",
      "list(a)[0]: 4033 time: 0.03408956527709961 lenp(ha): 0.3337841493102516 rate: 0.04003567629958552 i: 1104 ha.loc[0,'a'] 3419\n",
      "list(a)[0]: 3419 time: 0.05614900588989258 lenp(ha): 0.33351365972410063 rate: 0.04002613718204929 i: 1105 ha.loc[0,'a'] 3553\n",
      "list(a)[0]: 3553 time: 0.03409147262573242 lenp(ha): 0.3332431701379497 rate: 0.040016598064513055 i: 1106 ha.loc[0,'a'] 6971\n",
      "list(a)[0]: 6971 time: 0.04211139678955078 lenp(ha): 0.33297268055179874 rate: 0.040007058946976815 i: 1107 ha.loc[0,'a'] 8235\n",
      "list(a)[0]: 8235 time: 0.04211115837097168 lenp(ha): 0.33270219096564785 rate: 0.03999751982944058 i: 1108 ha.loc[0,'a'] 3564\n",
      "list(a)[0]: 3564 time: 0.02807307243347168 lenp(ha): 0.3324317013794969 rate: 0.03998798071190434 i: 1109 ha.loc[0,'a'] 8117\n",
      "list(a)[0]: 8117 time: 0.03709530830383301 lenp(ha): 0.33216121179334596 rate: 0.03997844159436811 i: 1110 ha.loc[0,'a'] 6554\n",
      "list(a)[0]: 6554 time: 0.026250123977661133 lenp(ha): 0.331890722207195 rate: 0.039968902476831866 i: 1111 ha.loc[0,'a'] 2415\n",
      "list(a)[0]: 2415 time: 0.028605222702026367 lenp(ha): 0.33162023262104406 rate: 0.03995936335929563 i: 1112 ha.loc[0,'a'] 8342\n",
      "list(a)[0]: 8342 time: 0.028074026107788086 lenp(ha): 0.3313497430348932 rate: 0.03994982424175939 i: 1113 ha.loc[0,'a'] 8161\n",
      "list(a)[0]: 8161 time: 0.028076648712158203 lenp(ha): 0.33107925344874223 rate: 0.03994028512422316 i: 1114 ha.loc[0,'a'] 5283\n",
      "list(a)[0]: 5283 time: 0.0330963134765625 lenp(ha): 0.3308087638625913 rate: 0.03993074600668692 i: 1115 ha.loc[0,'a'] 5783\n",
      "list(a)[0]: 5783 time: 0.027048587799072266 lenp(ha): 0.33053827427644034 rate: 0.039921206889150684 i: 1116 ha.loc[0,'a'] 7208\n",
      "list(a)[0]: 7208 time: 0.032083749771118164 lenp(ha): 0.33026778469028945 rate: 0.03991166777161445 i: 1117 ha.loc[0,'a'] 8451\n",
      "list(a)[0]: 8451 time: 0.02807307243347168 lenp(ha): 0.3299972951041385 rate: 0.03990212865407821 i: 1118 ha.loc[0,'a'] 2994\n",
      "list(a)[0]: 2994 time: 0.03249692916870117 lenp(ha): 0.32972680551798755 rate: 0.03989258953654198 i: 1119 ha.loc[0,'a'] 4455\n",
      "list(a)[0]: 4455 time: 0.024070262908935547 lenp(ha): 0.3294563159318366 rate: 0.039883050419005736 i: 1120 ha.loc[0,'a'] 4847\n",
      "list(a)[0]: 4847 time: 0.02105426788330078 lenp(ha): 0.3291858263456857 rate: 0.0398735113014695 i: 1121 ha.loc[0,'a'] 1699\n",
      "list(a)[0]: 1699 time: 0.028073549270629883 lenp(ha): 0.32891533675953477 rate: 0.03986397218393326 i: 1122 ha.loc[0,'a'] 4508\n",
      "list(a)[0]: 4508 time: 0.018646717071533203 lenp(ha): 0.3286448471733838 rate: 0.03985443306639703 i: 1123 ha.loc[0,'a'] 3521\n",
      "list(a)[0]: 3521 time: 0.035601139068603516 lenp(ha): 0.3283743575872329 rate: 0.03984489394886079 i: 1124 ha.loc[0,'a'] 6697\n",
      "list(a)[0]: 6697 time: 0.04262089729309082 lenp(ha): 0.32810386800108193 rate: 0.039835354831324554 i: 1125 ha.loc[0,'a'] 1564\n",
      "list(a)[0]: 1564 time: 0.03007984161376953 lenp(ha): 0.32783337841493104 rate: 0.03982581571378832 i: 1126 ha.loc[0,'a'] 5477\n",
      "list(a)[0]: 5477 time: 0.04110884666442871 lenp(ha): 0.3275628888287801 rate: 0.03981627659625208 i: 1127 ha.loc[0,'a'] 3445\n",
      "list(a)[0]: 3445 time: 0.03709840774536133 lenp(ha): 0.32729239924262915 rate: 0.039806737478715847 i: 1128 ha.loc[0,'a'] 1330\n",
      "list(a)[0]: 1330 time: 0.028197765350341797 lenp(ha): 0.3270219096564782 rate: 0.039797198361179606 i: 1129 ha.loc[0,'a'] 1344\n",
      "list(a)[0]: 1344 time: 0.036972999572753906 lenp(ha): 0.3267514200703273 rate: 0.03978765924364337 i: 1130 ha.loc[0,'a'] 8033\n",
      "list(a)[0]: 8033 time: 0.04111790657043457 lenp(ha): 0.32648093048417637 rate: 0.03977812012610713 i: 1131 ha.loc[0,'a'] 7540\n",
      "list(a)[0]: 7540 time: 0.04613375663757324 lenp(ha): 0.3262104408980254 rate: 0.0397685810085709 i: 1132 ha.loc[0,'a'] 4441\n",
      "list(a)[0]: 4441 time: 0.03359103202819824 lenp(ha): 0.3259399513118745 rate: 0.03975904189103466 i: 1133 ha.loc[0,'a'] 8024\n",
      "list(a)[0]: 8024 time: 0.037106990814208984 lenp(ha): 0.3256694617257236 rate: 0.039749502773498424 i: 1134 ha.loc[0,'a'] 92\n",
      "list(a)[0]: 92 time: 0.035097360610961914 lenp(ha): 0.32539897213957264 rate: 0.039739963655962184 i: 1135 ha.loc[0,'a'] 8797\n",
      "list(a)[0]: 8797 time: 0.03409099578857422 lenp(ha): 0.3251284825534217 rate: 0.03973042453842595 i: 1136 ha.loc[0,'a'] 1653\n",
      "list(a)[0]: 1653 time: 0.03208518028259277 lenp(ha): 0.32485799296727075 rate: 0.039720885420889716 i: 1137 ha.loc[0,'a'] 1897\n",
      "list(a)[0]: 1897 time: 0.030079364776611328 lenp(ha): 0.3245875033811198 rate: 0.039711346303353476 i: 1138 ha.loc[0,'a'] 960\n",
      "list(a)[0]: 960 time: 0.03378152847290039 lenp(ha): 0.3243170137949689 rate: 0.03970180718581724 i: 1139 ha.loc[0,'a'] 1305\n",
      "list(a)[0]: 1305 time: 0.03509950637817383 lenp(ha): 0.32404652420881797 rate: 0.039692268068281 i: 1140 ha.loc[0,'a'] 5963\n",
      "list(a)[0]: 5963 time: 0.03259134292602539 lenp(ha): 0.323776034622667 rate: 0.03968272895074477 i: 1141 ha.loc[0,'a'] 6381\n",
      "list(a)[0]: 6381 time: 0.04662680625915527 lenp(ha): 0.3235055450365161 rate: 0.03967318983320853 i: 1142 ha.loc[0,'a'] 6980\n",
      "list(a)[0]: 6980 time: 0.035096168518066406 lenp(ha): 0.3232350554503652 rate: 0.039663650715672294 i: 1143 ha.loc[0,'a'] 7500\n",
      "list(a)[0]: 7500 time: 0.033089399337768555 lenp(ha): 0.32296456586421424 rate: 0.03965411159813605 i: 1144 ha.loc[0,'a'] 3969\n",
      "list(a)[0]: 3969 time: 0.02807450294494629 lenp(ha): 0.3226940762780633 rate: 0.03964457248059982 i: 1145 ha.loc[0,'a'] 4065\n",
      "list(a)[0]: 4065 time: 0.03234553337097168 lenp(ha): 0.32242358669191234 rate: 0.039635033363063586 i: 1146 ha.loc[0,'a'] 7407\n",
      "list(a)[0]: 7407 time: 0.030582666397094727 lenp(ha): 0.32215309710576145 rate: 0.039625494245527346 i: 1147 ha.loc[0,'a'] 5310\n",
      "list(a)[0]: 5310 time: 0.020557165145874023 lenp(ha): 0.3218826075196105 rate: 0.03961595512799111 i: 1148 ha.loc[0,'a'] 3981\n",
      "list(a)[0]: 3981 time: 0.032052040100097656 lenp(ha): 0.32161211793345956 rate: 0.03960641601045487 i: 1149 ha.loc[0,'a'] 5970\n",
      "list(a)[0]: 5970 time: 0.15842914581298828 lenp(ha): 0.32107113876115767 rate: 0.039539642187701216 i: 1150 ha.loc[0,'a'] 8291\n",
      "list(a)[0]: 8291 time: 0.020078659057617188 lenp(ha): 0.3208006491750068 rate: 0.03953010307016498 i: 1151 ha.loc[0,'a'] 436\n",
      "list(a)[0]: 436 time: 0.034594058990478516 lenp(ha): 0.32053015958885583 rate: 0.03952056395262874 i: 1152 ha.loc[0,'a'] 1686\n",
      "list(a)[0]: 1686 time: 0.02958393096923828 lenp(ha): 0.3202596700027049 rate: 0.03951102483509251 i: 1153 ha.loc[0,'a'] 7316\n",
      "list(a)[0]: 7316 time: 0.02907705307006836 lenp(ha): 0.31998918041655394 rate: 0.03950148571755627 i: 1154 ha.loc[0,'a'] 1219\n",
      "list(a)[0]: 1219 time: 0.022058963775634766 lenp(ha): 0.31971869083040305 rate: 0.039491946600020034 i: 1155 ha.loc[0,'a'] 1375\n",
      "list(a)[0]: 1375 time: 0.03609514236450195 lenp(ha): 0.3194482012442521 rate: 0.03948240748248379 i: 1156 ha.loc[0,'a'] 3106\n",
      "list(a)[0]: 3106 time: 0.034323930740356445 lenp(ha): 0.31917771165810116 rate: 0.03947286836494756 i: 1157 ha.loc[0,'a'] 3287\n",
      "list(a)[0]: 3287 time: 0.036561012268066406 lenp(ha): 0.3189072220719502 rate: 0.03946332924741132 i: 1158 ha.loc[0,'a'] 1133\n",
      "list(a)[0]: 1133 time: 0.03109121322631836 lenp(ha): 0.3186367324857993 rate: 0.039453790129875085 i: 1159 ha.loc[0,'a'] 5038\n",
      "list(a)[0]: 5038 time: 0.03208661079406738 lenp(ha): 0.3183662428996484 rate: 0.03944425101233885 i: 1160 ha.loc[0,'a'] 8671\n",
      "list(a)[0]: 8671 time: 0.042110443115234375 lenp(ha): 0.31809575331349743 rate: 0.03943471189480261 i: 1161 ha.loc[0,'a'] 3053\n",
      "list(a)[0]: 3053 time: 0.01905035972595215 lenp(ha): 0.3178252637273465 rate: 0.03942517277726638 i: 1162 ha.loc[0,'a'] 8060\n",
      "list(a)[0]: 8060 time: 0.01905202865600586 lenp(ha): 0.31755477414119554 rate: 0.03941563365973014 i: 1163 ha.loc[0,'a'] 6979\n",
      "list(a)[0]: 6979 time: 0.028073549270629883 lenp(ha): 0.31728428455504465 rate: 0.039406094542193904 i: 1164 ha.loc[0,'a'] 5142\n",
      "list(a)[0]: 5142 time: 0.034120798110961914 lenp(ha): 0.3170137949688937 rate: 0.03939655542465766 i: 1165 ha.loc[0,'a'] 2215\n",
      "list(a)[0]: 2215 time: 0.02822089195251465 lenp(ha): 0.31674330538274276 rate: 0.03938701630712143 i: 1166 ha.loc[0,'a'] 3\n",
      "list(a)[0]: 3 time: 0.03509998321533203 lenp(ha): 0.3164728157965918 rate: 0.03937747718958519 i: 1167 ha.loc[0,'a'] 88\n",
      "list(a)[0]: 88 time: 0.03910374641418457 lenp(ha): 0.3162023262104409 rate: 0.039367938072048955 i: 1168 ha.loc[0,'a'] 8304\n",
      "list(a)[0]: 8304 time: 0.03509330749511719 lenp(ha): 0.31593183662429 rate: 0.039358398954512715 i: 1169 ha.loc[0,'a'] 4271\n",
      "list(a)[0]: 4271 time: 0.03709816932678223 lenp(ha): 0.31566134703813903 rate: 0.03934885983697648 i: 1170 ha.loc[0,'a'] 580\n",
      "list(a)[0]: 580 time: 0.04110860824584961 lenp(ha): 0.3153908574519881 rate: 0.03933932071944025 i: 1171 ha.loc[0,'a'] 6727\n",
      "list(a)[0]: 6727 time: 0.03830361366271973 lenp(ha): 0.3151203678658372 rate: 0.03932978160190401 i: 1172 ha.loc[0,'a'] 8566\n",
      "list(a)[0]: 8566 time: 0.03660225868225098 lenp(ha): 0.31484987827968625 rate: 0.03932024248436777 i: 1173 ha.loc[0,'a'] 7042\n",
      "list(a)[0]: 7042 time: 0.02707695960998535 lenp(ha): 0.3145793886935353 rate: 0.03931070336683153 i: 1174 ha.loc[0,'a'] 432\n",
      "list(a)[0]: 432 time: 0.025066375732421875 lenp(ha): 0.31430889910738435 rate: 0.0393011642492953 i: 1175 ha.loc[0,'a'] 745\n",
      "list(a)[0]: 745 time: 0.02005481719970703 lenp(ha): 0.3140384095212334 rate: 0.03929162513175906 i: 1176 ha.loc[0,'a'] 1074\n",
      "list(a)[0]: 1074 time: 0.032291412353515625 lenp(ha): 0.3137679199350825 rate: 0.039282086014222825 i: 1177 ha.loc[0,'a'] 7790\n",
      "list(a)[0]: 7790 time: 0.04011702537536621 lenp(ha): 0.31349743034893157 rate: 0.039272546896686585 i: 1178 ha.loc[0,'a'] 1971\n",
      "list(a)[0]: 1971 time: 0.02707195281982422 lenp(ha): 0.3132269407627806 rate: 0.03926300777915035 i: 1179 ha.loc[0,'a'] 3316\n",
      "list(a)[0]: 3316 time: 0.023061037063598633 lenp(ha): 0.3129564511766297 rate: 0.03925346866161412 i: 1180 ha.loc[0,'a'] 5976\n",
      "list(a)[0]: 5976 time: 0.03258943557739258 lenp(ha): 0.3126859615904788 rate: 0.03924392954407788 i: 1181 ha.loc[0,'a'] 7560\n",
      "list(a)[0]: 7560 time: 0.02707672119140625 lenp(ha): 0.31241547200432784 rate: 0.03923439042654164 i: 1182 ha.loc[0,'a'] 5694\n",
      "list(a)[0]: 5694 time: 0.03609633445739746 lenp(ha): 0.3121449824181769 rate: 0.0392248513090054 i: 1183 ha.loc[0,'a'] 5619\n",
      "list(a)[0]: 5619 time: 0.29282212257385254 lenp(ha): 0.31160400324587506 rate: 0.039100842781034324 i: 1184 ha.loc[0,'a'] 7658\n",
      "list(a)[0]: 7658 time: 0.0330963134765625 lenp(ha): 0.3113335136597241 rate: 0.03909130366349809 i: 1185 ha.loc[0,'a'] 3746\n",
      "list(a)[0]: 3746 time: 0.032083749771118164 lenp(ha): 0.31106302407357317 rate: 0.03908176454596185 i: 1186 ha.loc[0,'a'] 6029\n",
      "list(a)[0]: 6029 time: 0.0380706787109375 lenp(ha): 0.3107925344874222 rate: 0.039072225428425617 i: 1187 ha.loc[0,'a'] 6092\n",
      "list(a)[0]: 6092 time: 0.029581785202026367 lenp(ha): 0.3105220449012713 rate: 0.03906268631088938 i: 1188 ha.loc[0,'a'] 6693\n",
      "list(a)[0]: 6693 time: 0.020055532455444336 lenp(ha): 0.3102515553151204 rate: 0.03905314719335314 i: 1189 ha.loc[0,'a'] 1947\n",
      "list(a)[0]: 1947 time: 0.028072595596313477 lenp(ha): 0.30998106572896944 rate: 0.03904360807581691 i: 1190 ha.loc[0,'a'] 1692\n",
      "list(a)[0]: 1692 time: 0.029105424880981445 lenp(ha): 0.3097105761428185 rate: 0.03903406895828067 i: 1191 ha.loc[0,'a'] 5153\n",
      "list(a)[0]: 5153 time: 0.027154922485351562 lenp(ha): 0.30944008655666755 rate: 0.039024529840744435 i: 1192 ha.loc[0,'a'] 6993\n",
      "list(a)[0]: 6993 time: 0.03610420227050781 lenp(ha): 0.30916959697051666 rate: 0.039014990723208194 i: 1193 ha.loc[0,'a'] 5825\n",
      "list(a)[0]: 5825 time: 0.02907705307006836 lenp(ha): 0.3088991073843657 rate: 0.03900545160567196 i: 1194 ha.loc[0,'a'] 1324\n",
      "list(a)[0]: 1324 time: 0.027071237564086914 lenp(ha): 0.30862861779821477 rate: 0.03899591248813572 i: 1195 ha.loc[0,'a'] 2696\n",
      "list(a)[0]: 2696 time: 0.03470492362976074 lenp(ha): 0.3083581282120638 rate: 0.038986373370599486 i: 1196 ha.loc[0,'a'] 488\n",
      "list(a)[0]: 488 time: 0.027551651000976562 lenp(ha): 0.30808763862591293 rate: 0.038976834253063246 i: 1197 ha.loc[0,'a'] 3795\n",
      "list(a)[0]: 3795 time: 0.027098655700683594 lenp(ha): 0.307817149039762 rate: 0.03896729513552701 i: 1198 ha.loc[0,'a'] 1606\n",
      "list(a)[0]: 1606 time: 0.02722787857055664 lenp(ha): 0.30754665945361104 rate: 0.03895775601799078 i: 1199 ha.loc[0,'a'] 7508\n",
      "list(a)[0]: 7508 time: 0.035100698471069336 lenp(ha): 0.3072761698674601 rate: 0.03894821690045454 i: 1200 ha.loc[0,'a'] 2491\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 2491 time: 0.034094810485839844 lenp(ha): 0.30700568028130915 rate: 0.038938677782918305 i: 1201 ha.loc[0,'a'] 8367\n",
      "list(a)[0]: 8367 time: 0.02707362174987793 lenp(ha): 0.30673519069515826 rate: 0.038929138665382064 i: 1202 ha.loc[0,'a'] 4852\n",
      "list(a)[0]: 4852 time: 0.034091949462890625 lenp(ha): 0.3064647011090073 rate: 0.03891959954784583 i: 1203 ha.loc[0,'a'] 4439\n",
      "list(a)[0]: 4439 time: 0.037096261978149414 lenp(ha): 0.30619421152285636 rate: 0.03891006043030959 i: 1204 ha.loc[0,'a'] 3473\n",
      "list(a)[0]: 3473 time: 0.03709840774536133 lenp(ha): 0.3059237219367054 rate: 0.038900521312773356 i: 1205 ha.loc[0,'a'] 5998\n",
      "list(a)[0]: 5998 time: 0.020778179168701172 lenp(ha): 0.3056532323505545 rate: 0.038890982195237116 i: 1206 ha.loc[0,'a'] 3131\n",
      "list(a)[0]: 3131 time: 0.025571346282958984 lenp(ha): 0.3053827427644036 rate: 0.03888144307770088 i: 1207 ha.loc[0,'a'] 7821\n",
      "list(a)[0]: 7821 time: 0.11918473243713379 lenp(ha): 0.3048417635921017 rate: 0.03884805616632405 i: 1208 ha.loc[0,'a'] 6290\n",
      "list(a)[0]: 6290 time: 0.03810286521911621 lenp(ha): 0.3045712740059508 rate: 0.03883851704878782 i: 1209 ha.loc[0,'a'] 777\n",
      "list(a)[0]: 777 time: 0.03111577033996582 lenp(ha): 0.30430078441979985 rate: 0.038828977931251576 i: 1210 ha.loc[0,'a'] 6031\n",
      "list(a)[0]: 6031 time: 0.019558191299438477 lenp(ha): 0.3040302948336489 rate: 0.03881943881371534 i: 1211 ha.loc[0,'a'] 6818\n",
      "list(a)[0]: 6818 time: 0.025097370147705078 lenp(ha): 0.30375980524749796 rate: 0.03880989969617911 i: 1212 ha.loc[0,'a'] 2004\n",
      "list(a)[0]: 2004 time: 0.02606797218322754 lenp(ha): 0.303489315661347 rate: 0.03880036057864287 i: 1213 ha.loc[0,'a'] 4388\n",
      "list(a)[0]: 4388 time: 0.021591901779174805 lenp(ha): 0.3032188260751961 rate: 0.038790821461106635 i: 1214 ha.loc[0,'a'] 7480\n",
      "list(a)[0]: 7480 time: 0.035125017166137695 lenp(ha): 0.3029483364890452 rate: 0.038781282343570395 i: 1215 ha.loc[0,'a'] 1763\n",
      "list(a)[0]: 1763 time: 0.0301058292388916 lenp(ha): 0.30267784690289423 rate: 0.03877174322603416 i: 1216 ha.loc[0,'a'] 7623\n",
      "list(a)[0]: 7623 time: 0.027512073516845703 lenp(ha): 0.3024073573167433 rate: 0.03876220410849792 i: 1217 ha.loc[0,'a'] 3178\n",
      "list(a)[0]: 3178 time: 0.035101890563964844 lenp(ha): 0.3021368677305924 rate: 0.03875266499096169 i: 1218 ha.loc[0,'a'] 7186\n",
      "list(a)[0]: 7186 time: 0.02105569839477539 lenp(ha): 0.30186637814444145 rate: 0.038743125873425446 i: 1219 ha.loc[0,'a'] 6938\n",
      "list(a)[0]: 6938 time: 0.02707076072692871 lenp(ha): 0.3015958885582905 rate: 0.03873358675588921 i: 1220 ha.loc[0,'a'] 4337\n",
      "list(a)[0]: 4337 time: 0.02908039093017578 lenp(ha): 0.30132539897213956 rate: 0.03872404763835298 i: 1221 ha.loc[0,'a'] 6894\n",
      "list(a)[0]: 6894 time: 0.027575969696044922 lenp(ha): 0.30105490938598867 rate: 0.03871450852081674 i: 1222 ha.loc[0,'a'] 1451\n",
      "list(a)[0]: 1451 time: 0.029076576232910156 lenp(ha): 0.3007844197998377 rate: 0.038704969403280505 i: 1223 ha.loc[0,'a'] 6250\n",
      "list(a)[0]: 6250 time: 0.037119388580322266 lenp(ha): 0.3005139302136868 rate: 0.038695430285744264 i: 1224 ha.loc[0,'a'] 5974\n",
      "list(a)[0]: 5974 time: 0.027100801467895508 lenp(ha): 0.30024344062753583 rate: 0.03868589116820803 i: 1225 ha.loc[0,'a'] 5933\n",
      "list(a)[0]: 5933 time: 0.028077125549316406 lenp(ha): 0.2999729510413849 rate: 0.03867635205067179 i: 1226 ha.loc[0,'a'] 7368\n",
      "list(a)[0]: 7368 time: 0.032114267349243164 lenp(ha): 0.299702461455234 rate: 0.03866681293313556 i: 1227 ha.loc[0,'a'] 2781\n",
      "list(a)[0]: 2781 time: 0.03211236000061035 lenp(ha): 0.29943197186908305 rate: 0.038657273815599316 i: 1228 ha.loc[0,'a'] 4689\n",
      "list(a)[0]: 4689 time: 0.027106046676635742 lenp(ha): 0.2991614822829321 rate: 0.03864773469806308 i: 1229 ha.loc[0,'a'] 7747\n",
      "list(a)[0]: 7747 time: 0.03008103370666504 lenp(ha): 0.29889099269678115 rate: 0.03863819558052684 i: 1230 ha.loc[0,'a'] 985\n",
      "list(a)[0]: 985 time: 0.03111577033996582 lenp(ha): 0.29862050311063026 rate: 0.03862865646299061 i: 1231 ha.loc[0,'a'] 8351\n",
      "list(a)[0]: 8351 time: 0.027095556259155273 lenp(ha): 0.2983500135244793 rate: 0.038619117345454375 i: 1232 ha.loc[0,'a'] 1876\n",
      "list(a)[0]: 1876 time: 0.023067235946655273 lenp(ha): 0.2980795239383284 rate: 0.038609578227918134 i: 1233 ha.loc[0,'a'] 6867\n",
      "list(a)[0]: 6867 time: 0.022059202194213867 lenp(ha): 0.2978090343521774 rate: 0.0386000391103819 i: 1234 ha.loc[0,'a'] 5245\n",
      "list(a)[0]: 5245 time: 0.02105569839477539 lenp(ha): 0.2975385447660265 rate: 0.03859049999284566 i: 1235 ha.loc[0,'a'] 3434\n",
      "list(a)[0]: 3434 time: 0.019554853439331055 lenp(ha): 0.2972680551798756 rate: 0.03858096087530943 i: 1236 ha.loc[0,'a'] 7313\n",
      "list(a)[0]: 7313 time: 0.030106306076049805 lenp(ha): 0.29699756559372464 rate: 0.038571421757773186 i: 1237 ha.loc[0,'a'] 2669\n",
      "list(a)[0]: 2669 time: 0.031082630157470703 lenp(ha): 0.2967270760075737 rate: 0.03856188264023695 i: 1238 ha.loc[0,'a'] 3573\n",
      "list(a)[0]: 3573 time: 0.02707219123840332 lenp(ha): 0.29645658642142275 rate: 0.03855234352270071 i: 1239 ha.loc[0,'a'] 8555\n",
      "list(a)[0]: 8555 time: 0.029068470001220703 lenp(ha): 0.29618609683527186 rate: 0.03854280440516448 i: 1240 ha.loc[0,'a'] 5626\n",
      "list(a)[0]: 5626 time: 0.023061037063598633 lenp(ha): 0.2959156072491209 rate: 0.038533265287628245 i: 1241 ha.loc[0,'a'] 2385\n",
      "list(a)[0]: 2385 time: 0.0210568904876709 lenp(ha): 0.29564511766296997 rate: 0.038523726170092004 i: 1242 ha.loc[0,'a'] 6052\n",
      "list(a)[0]: 6052 time: 0.03212714195251465 lenp(ha): 0.295374628076819 rate: 0.03851418705255577 i: 1243 ha.loc[0,'a'] 5752\n",
      "list(a)[0]: 5752 time: 0.03058910369873047 lenp(ha): 0.29510413849066813 rate: 0.03850464793501953 i: 1244 ha.loc[0,'a'] 7677\n",
      "list(a)[0]: 7677 time: 0.03411579132080078 lenp(ha): 0.2948336489045172 rate: 0.038495108817483296 i: 1245 ha.loc[0,'a'] 7644\n",
      "list(a)[0]: 7644 time: 0.021055936813354492 lenp(ha): 0.29456315931836624 rate: 0.038485569699947056 i: 1246 ha.loc[0,'a'] 4456\n",
      "list(a)[0]: 4456 time: 0.027164459228515625 lenp(ha): 0.2942926697322153 rate: 0.03847603058241082 i: 1247 ha.loc[0,'a'] 336\n",
      "list(a)[0]: 336 time: 0.021056413650512695 lenp(ha): 0.29402218014606435 rate: 0.03846649146487458 i: 1248 ha.loc[0,'a'] 8482\n",
      "list(a)[0]: 8482 time: 0.03712773323059082 lenp(ha): 0.29375169055991346 rate: 0.03845695234733835 i: 1249 ha.loc[0,'a'] 5127\n",
      "list(a)[0]: 5127 time: 0.02958202362060547 lenp(ha): 0.2934812009737625 rate: 0.03844741322980211 i: 1250 ha.loc[0,'a'] 1813\n",
      "list(a)[0]: 1813 time: 0.026605606079101562 lenp(ha): 0.29321071138761157 rate: 0.038437874112265874 i: 1251 ha.loc[0,'a'] 3587\n",
      "list(a)[0]: 3587 time: 0.030109882354736328 lenp(ha): 0.2929402218014606 rate: 0.03842833499472964 i: 1252 ha.loc[0,'a'] 8078\n",
      "list(a)[0]: 8078 time: 0.024065494537353516 lenp(ha): 0.29266973221530973 rate: 0.0384187958771934 i: 1253 ha.loc[0,'a'] 3519\n",
      "list(a)[0]: 3519 time: 0.028082609176635742 lenp(ha): 0.2923992426291588 rate: 0.038409256759657166 i: 1254 ha.loc[0,'a'] 4574\n",
      "list(a)[0]: 4574 time: 0.03612542152404785 lenp(ha): 0.29212875304300784 rate: 0.038399717642120926 i: 1255 ha.loc[0,'a'] 4859\n",
      "list(a)[0]: 4859 time: 0.027042150497436523 lenp(ha): 0.2918582634568569 rate: 0.03839017852458469 i: 1256 ha.loc[0,'a'] 1809\n",
      "list(a)[0]: 1809 time: 0.28585028648376465 lenp(ha): 0.29131728428455506 rate: 0.03821370485016431 i: 1257 ha.loc[0,'a'] 1013\n",
      "list(a)[0]: 1013 time: 0.03311872482299805 lenp(ha): 0.2910467946984041 rate: 0.03819939617385996 i: 1258 ha.loc[0,'a'] 2472\n",
      "list(a)[0]: 2472 time: 0.04364585876464844 lenp(ha): 0.29077630511225316 rate: 0.0381850874975556 i: 1259 ha.loc[0,'a'] 1213\n",
      "list(a)[0]: 1213 time: 0.03857564926147461 lenp(ha): 0.2905058155261022 rate: 0.03817077882125124 i: 1260 ha.loc[0,'a'] 8486\n",
      "list(a)[0]: 8486 time: 0.16048860549926758 lenp(ha): 0.28969434676764944 rate: 0.03811354411603383 i: 1261 ha.loc[0,'a'] 5347\n",
      "list(a)[0]: 5347 time: 0.04413723945617676 lenp(ha): 0.2894238571814985 rate: 0.03809923543972947 i: 1262 ha.loc[0,'a'] 6518\n",
      "list(a)[0]: 6518 time: 0.04013538360595703 lenp(ha): 0.2891533675953476 rate: 0.03808492676342511 i: 1263 ha.loc[0,'a'] 7799\n",
      "list(a)[0]: 7799 time: 0.05367732048034668 lenp(ha): 0.28888287800919665 rate: 0.03807061808712076 i: 1264 ha.loc[0,'a'] 1136\n",
      "list(a)[0]: 1136 time: 0.04012656211853027 lenp(ha): 0.2886123884230457 rate: 0.038056309410816405 i: 1265 ha.loc[0,'a'] 8205\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 8205 time: 0.03409147262573242 lenp(ha): 0.28834189883689476 rate: 0.03804200073451205 i: 1266 ha.loc[0,'a'] 480\n",
      "list(a)[0]: 480 time: 0.14444446563720703 lenp(ha): 0.2878009196645929 rate: 0.037994305146830866 i: 1267 ha.loc[0,'a'] 6627\n",
      "list(a)[0]: 6627 time: 0.042153358459472656 lenp(ha): 0.287530430078442 rate: 0.03797999647052651 i: 1268 ha.loc[0,'a'] 5301\n",
      "list(a)[0]: 5301 time: 0.04013824462890625 lenp(ha): 0.28725994049229103 rate: 0.03796568779422216 i: 1269 ha.loc[0,'a'] 3549\n",
      "list(a)[0]: 3549 time: 0.04713749885559082 lenp(ha): 0.2869894509061401 rate: 0.0379513791179178 i: 1270 ha.loc[0,'a'] 2692\n",
      "list(a)[0]: 2692 time: 0.04011082649230957 lenp(ha): 0.2867189613199892 rate: 0.037937070441613444 i: 1271 ha.loc[0,'a'] 251\n",
      "list(a)[0]: 251 time: 0.136397123336792 lenp(ha): 0.2861779821476873 rate: 0.037884605295164145 i: 1272 ha.loc[0,'a'] 1989\n",
      "list(a)[0]: 1989 time: 0.042110443115234375 lenp(ha): 0.28590749256153636 rate: 0.03787029661885979 i: 1273 ha.loc[0,'a'] 3462\n",
      "list(a)[0]: 3462 time: 0.034119367599487305 lenp(ha): 0.28563700297538547 rate: 0.03785598794255544 i: 1274 ha.loc[0,'a'] 929\n",
      "list(a)[0]: 929 time: 0.04863429069519043 lenp(ha): 0.2853665133892345 rate: 0.03784167926625108 i: 1275 ha.loc[0,'a'] 7298\n",
      "list(a)[0]: 7298 time: 0.03312277793884277 lenp(ha): 0.2850960238030836 rate: 0.03782737058994672 i: 1276 ha.loc[0,'a'] 330\n",
      "list(a)[0]: 330 time: 0.0970149040222168 lenp(ha): 0.28455504463078174 rate: 0.037798753237338015 i: 1277 ha.loc[0,'a'] 8041\n",
      "list(a)[0]: 8041 time: 0.04164719581604004 lenp(ha): 0.2842845550446308 rate: 0.03778444456103366 i: 1278 ha.loc[0,'a'] 2988\n",
      "list(a)[0]: 2988 time: 0.025602102279663086 lenp(ha): 0.28401406545847985 rate: 0.03777013588472931 i: 1279 ha.loc[0,'a'] 7426\n",
      "list(a)[0]: 7426 time: 0.04712939262390137 lenp(ha): 0.2837435758723289 rate: 0.03775582720842495 i: 1280 ha.loc[0,'a'] 6680\n",
      "list(a)[0]: 6680 time: 0.04111194610595703 lenp(ha): 0.28347308628617796 rate: 0.03774151853212059 i: 1281 ha.loc[0,'a'] 4810\n",
      "list(a)[0]: 4810 time: 0.04111003875732422 lenp(ha): 0.28320259670002706 rate: 0.037727209855816235 i: 1282 ha.loc[0,'a'] 6794\n",
      "list(a)[0]: 6794 time: 0.04210686683654785 lenp(ha): 0.2829321071138761 rate: 0.037712901179511885 i: 1283 ha.loc[0,'a'] 8135\n",
      "list(a)[0]: 8135 time: 0.03910207748413086 lenp(ha): 0.2826616175277252 rate: 0.03769859250320753 i: 1284 ha.loc[0,'a'] 2091\n",
      "list(a)[0]: 2091 time: 0.032614707946777344 lenp(ha): 0.2823911279415742 rate: 0.03768428382690317 i: 1285 ha.loc[0,'a'] 8514\n",
      "list(a)[0]: 8514 time: 0.042092084884643555 lenp(ha): 0.28212063835542334 rate: 0.037674744709366936 i: 1286 ha.loc[0,'a'] 8837\n",
      "list(a)[0]: 8837 time: 0.04016685485839844 lenp(ha): 0.2818501487692724 rate: 0.03766043603306258 i: 1287 ha.loc[0,'a'] 8323\n",
      "list(a)[0]: 8323 time: 0.04210996627807617 lenp(ha): 0.28157965918312144 rate: 0.03764612735675823 i: 1288 ha.loc[0,'a'] 5232\n",
      "list(a)[0]: 5232 time: 0.04311323165893555 lenp(ha): 0.2813091695969705 rate: 0.03763181868045387 i: 1289 ha.loc[0,'a'] 1279\n",
      "list(a)[0]: 1279 time: 0.03910470008850098 lenp(ha): 0.2810386800108196 rate: 0.037617510004149514 i: 1290 ha.loc[0,'a'] 7263\n",
      "list(a)[0]: 7263 time: 0.03058314323425293 lenp(ha): 0.28076819042466866 rate: 0.037603201327845164 i: 1291 ha.loc[0,'a'] 4904\n",
      "list(a)[0]: 4904 time: 0.039649009704589844 lenp(ha): 0.2804977008385177 rate: 0.037588892651540806 i: 1292 ha.loc[0,'a'] 2536\n",
      "list(a)[0]: 2536 time: 0.27736401557922363 lenp(ha): 0.279415742493914 rate: 0.037479192799874085 i: 1293 ha.loc[0,'a'] 6063\n",
      "list(a)[0]: 6063 time: 0.09322452545166016 lenp(ha): 0.2788747633216121 rate: 0.037445805888497254 i: 1294 ha.loc[0,'a'] 6503\n",
      "list(a)[0]: 6503 time: 0.1333913803100586 lenp(ha): 0.27833378414931026 rate: 0.03738857118327984 i: 1295 ha.loc[0,'a'] 4877\n",
      "list(a)[0]: 4877 time: 0.026163816452026367 lenp(ha): 0.2780632945631593 rate: 0.03737426250697548 i: 1296 ha.loc[0,'a'] 2498\n",
      "list(a)[0]: 2498 time: 0.29184651374816895 lenp(ha): 0.2775223153908575 rate: 0.0372502539790044 i: 1297 ha.loc[0,'a'] 3486\n",
      "list(a)[0]: 3486 time: 0.03911781311035156 lenp(ha): 0.27725182580470653 rate: 0.037235945302700045 i: 1298 ha.loc[0,'a'] 7048\n",
      "list(a)[0]: 7048 time: 0.031587839126586914 lenp(ha): 0.2769813362185556 rate: 0.037221636626395695 i: 1299 ha.loc[0,'a'] 8807\n",
      "list(a)[0]: 8807 time: 0.05190157890319824 lenp(ha): 0.27671084663240464 rate: 0.03720732795009134 i: 1300 ha.loc[0,'a'] 6899\n",
      "list(a)[0]: 6899 time: 0.042644500732421875 lenp(ha): 0.2764403570462537 rate: 0.03719301927378698 i: 1301 ha.loc[0,'a'] 6332\n",
      "list(a)[0]: 6332 time: 0.03910350799560547 lenp(ha): 0.2761698674601028 rate: 0.03717871059748263 i: 1302 ha.loc[0,'a'] 190\n",
      "list(a)[0]: 190 time: 0.03308677673339844 lenp(ha): 0.27589937787395186 rate: 0.03716440192117827 i: 1303 ha.loc[0,'a'] 430\n",
      "list(a)[0]: 430 time: 0.04111361503601074 lenp(ha): 0.2756288882878009 rate: 0.037150093244873915 i: 1304 ha.loc[0,'a'] 8527\n",
      "list(a)[0]: 8527 time: 0.16224932670593262 lenp(ha): 0.2750879091154991 rate: 0.03710239765719273 i: 1305 ha.loc[0,'a'] 4438\n",
      "list(a)[0]: 4438 time: 0.0411376953125 lenp(ha): 0.27481741952934813 rate: 0.037088088980888376 i: 1306 ha.loc[0,'a'] 5027\n",
      "list(a)[0]: 5027 time: 0.04513072967529297 lenp(ha): 0.2745469299431972 rate: 0.037073780304584025 i: 1307 ha.loc[0,'a'] 5081\n",
      "list(a)[0]: 5081 time: 0.04816412925720215 lenp(ha): 0.27427644035704624 rate: 0.03705947162827967 i: 1308 ha.loc[0,'a'] 6184\n",
      "list(a)[0]: 6184 time: 0.039112091064453125 lenp(ha): 0.27400595077089535 rate: 0.03704516295197531 i: 1309 ha.loc[0,'a'] 4960\n",
      "list(a)[0]: 4960 time: 0.04161524772644043 lenp(ha): 0.2737354611847444 rate: 0.03703085427567096 i: 1310 ha.loc[0,'a'] 8722\n",
      "list(a)[0]: 8722 time: 0.040105342864990234 lenp(ha): 0.27346497159859345 rate: 0.0370165455993666 i: 1311 ha.loc[0,'a'] 227\n",
      "list(a)[0]: 227 time: 0.03910398483276367 lenp(ha): 0.2731944820124425 rate: 0.037002236923062246 i: 1312 ha.loc[0,'a'] 2862\n",
      "list(a)[0]: 2862 time: 0.049155473709106445 lenp(ha): 0.27292399242629156 rate: 0.036987928246757895 i: 1313 ha.loc[0,'a'] 7944\n",
      "list(a)[0]: 7944 time: 0.03913545608520508 lenp(ha): 0.27265350284014067 rate: 0.03697361957045354 i: 1314 ha.loc[0,'a'] 7772\n",
      "list(a)[0]: 7772 time: 0.04011130332946777 lenp(ha): 0.2723830132539897 rate: 0.03695931089414918 i: 1315 ha.loc[0,'a'] 6884\n",
      "list(a)[0]: 6884 time: 0.026123762130737305 lenp(ha): 0.2721125236678388 rate: 0.03694500221784483 i: 1316 ha.loc[0,'a'] 3826\n",
      "list(a)[0]: 3826 time: 0.03712582588195801 lenp(ha): 0.27184203408168783 rate: 0.03693069354154047 i: 1317 ha.loc[0,'a'] 189\n",
      "list(a)[0]: 189 time: 0.0491030216217041 lenp(ha): 0.27157154449553694 rate: 0.036916384865236115 i: 1318 ha.loc[0,'a'] 8741\n",
      "list(a)[0]: 8741 time: 0.03408956527709961 lenp(ha): 0.271301054909386 rate: 0.036902076188931765 i: 1319 ha.loc[0,'a'] 5536\n",
      "list(a)[0]: 5536 time: 0.038107872009277344 lenp(ha): 0.27103056532323505 rate: 0.03688776751262741 i: 1320 ha.loc[0,'a'] 4659\n",
      "list(a)[0]: 4659 time: 0.0401148796081543 lenp(ha): 0.2707600757370841 rate: 0.03687345883632305 i: 1321 ha.loc[0,'a'] 3211\n",
      "list(a)[0]: 3211 time: 0.15846848487854004 lenp(ha): 0.2699486069786313 rate: 0.03682576324864187 i: 1322 ha.loc[0,'a'] 4586\n",
      "list(a)[0]: 4586 time: 0.03258824348449707 lenp(ha): 0.2696781173924804 rate: 0.03681145457233751 i: 1323 ha.loc[0,'a'] 6741\n",
      "list(a)[0]: 6741 time: 0.039103031158447266 lenp(ha): 0.26940762780632943 rate: 0.03679714589603316 i: 1324 ha.loc[0,'a'] 3064\n",
      "list(a)[0]: 3064 time: 0.04612278938293457 lenp(ha): 0.26913713822017854 rate: 0.0367828372197288 i: 1325 ha.loc[0,'a'] 5192\n",
      "list(a)[0]: 5192 time: 0.042113542556762695 lenp(ha): 0.2688666486340276 rate: 0.036768528543424446 i: 1326 ha.loc[0,'a'] 7699\n",
      "list(a)[0]: 7699 time: 0.031588077545166016 lenp(ha): 0.26859615904787665 rate: 0.036754219867120096 i: 1327 ha.loc[0,'a'] 5794\n",
      "list(a)[0]: 5794 time: 0.04713702201843262 lenp(ha): 0.2683256694617257 rate: 0.03673991119081574 i: 1328 ha.loc[0,'a'] 8519\n",
      "list(a)[0]: 8519 time: 0.02406477928161621 lenp(ha): 0.2680551798755748 rate: 0.03672560251451138 i: 1329 ha.loc[0,'a'] 8672\n",
      "list(a)[0]: 8672 time: 0.038127899169921875 lenp(ha): 0.26778469028942387 rate: 0.03671129383820703 i: 1330 ha.loc[0,'a'] 4202\n",
      "list(a)[0]: 4202 time: 0.032086849212646484 lenp(ha): 0.2675142007032729 rate: 0.03669698516190267 i: 1331 ha.loc[0,'a'] 3335\n",
      "list(a)[0]: 3335 time: 0.03158688545227051 lenp(ha): 0.267243711117122 rate: 0.036682676485598316 i: 1332 ha.loc[0,'a'] 4299\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4299 time: 0.03760170936584473 lenp(ha): 0.2669732215309711 rate: 0.036668367809293965 i: 1333 ha.loc[0,'a'] 160\n",
      "list(a)[0]: 160 time: 0.02509331703186035 lenp(ha): 0.26670273194482014 rate: 0.03665405913298961 i: 1334 ha.loc[0,'a'] 2457\n",
      "list(a)[0]: 2457 time: 0.08820223808288574 lenp(ha): 0.26616175277251825 rate: 0.0366254417803809 i: 1335 ha.loc[0,'a'] 6085\n",
      "list(a)[0]: 6085 time: 0.03409242630004883 lenp(ha): 0.2658912631863673 rate: 0.03661113310407654 i: 1336 ha.loc[0,'a'] 2717\n",
      "list(a)[0]: 2717 time: 0.03308677673339844 lenp(ha): 0.2656207736002164 rate: 0.036596824427772186 i: 1337 ha.loc[0,'a'] 936\n",
      "list(a)[0]: 936 time: 0.04615664482116699 lenp(ha): 0.26535028401406546 rate: 0.03658251575146783 i: 1338 ha.loc[0,'a'] 112\n",
      "list(a)[0]: 112 time: 0.04411768913269043 lenp(ha): 0.2650797944279145 rate: 0.03656820707516348 i: 1339 ha.loc[0,'a'] 4237\n",
      "list(a)[0]: 4237 time: 0.03108382225036621 lenp(ha): 0.26480930484176357 rate: 0.03655389839885912 i: 1340 ha.loc[0,'a'] 5950\n",
      "list(a)[0]: 5950 time: 0.0468440055847168 lenp(ha): 0.2645388152556127 rate: 0.03653958972255476 i: 1341 ha.loc[0,'a'] 6312\n",
      "list(a)[0]: 6312 time: 0.04011392593383789 lenp(ha): 0.26426832566946173 rate: 0.03652528104625041 i: 1342 ha.loc[0,'a'] 521\n",
      "list(a)[0]: 521 time: 0.031081676483154297 lenp(ha): 0.2639978360833108 rate: 0.036510972369946056 i: 1343 ha.loc[0,'a'] 7958\n",
      "list(a)[0]: 7958 time: 0.026097774505615234 lenp(ha): 0.26372734649715984 rate: 0.0364966636936417 i: 1344 ha.loc[0,'a'] 3617\n",
      "list(a)[0]: 3617 time: 0.03860354423522949 lenp(ha): 0.26345685691100895 rate: 0.03648235501733735 i: 1345 ha.loc[0,'a'] 786\n",
      "list(a)[0]: 786 time: 0.043126583099365234 lenp(ha): 0.263186367324858 rate: 0.03646804634103299 i: 1346 ha.loc[0,'a'] 7899\n",
      "list(a)[0]: 7899 time: 0.03612828254699707 lenp(ha): 0.26291587773870706 rate: 0.03645373766472863 i: 1347 ha.loc[0,'a'] 6100\n",
      "list(a)[0]: 6100 time: 0.04311966896057129 lenp(ha): 0.2626453881525561 rate: 0.03643942898842428 i: 1348 ha.loc[0,'a'] 6810\n",
      "list(a)[0]: 6810 time: 0.05113959312438965 lenp(ha): 0.26237489856640517 rate: 0.036425120312119925 i: 1349 ha.loc[0,'a'] 4364\n",
      "list(a)[0]: 4364 time: 0.04311347007751465 lenp(ha): 0.2621044089802543 rate: 0.03641081163581557 i: 1350 ha.loc[0,'a'] 5736\n",
      "list(a)[0]: 5736 time: 0.037099599838256836 lenp(ha): 0.26183391939410333 rate: 0.03639650295951122 i: 1351 ha.loc[0,'a'] 5159\n",
      "list(a)[0]: 5159 time: 0.041127681732177734 lenp(ha): 0.2615634298079524 rate: 0.03638219428320686 i: 1352 ha.loc[0,'a'] 8705\n",
      "list(a)[0]: 8705 time: 0.046658992767333984 lenp(ha): 0.26129294022180144 rate: 0.0363678856069025 i: 1353 ha.loc[0,'a'] 1328\n",
      "list(a)[0]: 1328 time: 0.04061245918273926 lenp(ha): 0.26102245063565055 rate: 0.03635357693059815 i: 1354 ha.loc[0,'a'] 2195\n",
      "list(a)[0]: 2195 time: 0.04013633728027344 lenp(ha): 0.2607519610494996 rate: 0.036339268254293795 i: 1355 ha.loc[0,'a'] 2678\n",
      "list(a)[0]: 2678 time: 0.04409217834472656 lenp(ha): 0.26048147146334866 rate: 0.03632495957798944 i: 1356 ha.loc[0,'a'] 553\n",
      "list(a)[0]: 553 time: 0.025064945220947266 lenp(ha): 0.2602109818771977 rate: 0.03631065090168509 i: 1357 ha.loc[0,'a'] 105\n",
      "list(a)[0]: 105 time: 0.024063825607299805 lenp(ha): 0.2599404922910468 rate: 0.03629634222538073 i: 1358 ha.loc[0,'a'] 3827\n",
      "list(a)[0]: 3827 time: 0.04715895652770996 lenp(ha): 0.2596700027048959 rate: 0.03628203354907637 i: 1359 ha.loc[0,'a'] 4211\n",
      "list(a)[0]: 4211 time: 0.03917288780212402 lenp(ha): 0.25939951311874493 rate: 0.03626772487277202 i: 1360 ha.loc[0,'a'] 6756\n",
      "list(a)[0]: 6756 time: 0.04215192794799805 lenp(ha): 0.259129023532594 rate: 0.036253416196467665 i: 1361 ha.loc[0,'a'] 1736\n",
      "list(a)[0]: 1736 time: 0.04812359809875488 lenp(ha): 0.25885853394644304 rate: 0.03623910752016331 i: 1362 ha.loc[0,'a'] 7785\n",
      "list(a)[0]: 7785 time: 0.03712272644042969 lenp(ha): 0.25858804436029215 rate: 0.03622479884385896 i: 1363 ha.loc[0,'a'] 6358\n",
      "list(a)[0]: 6358 time: 0.04311227798461914 lenp(ha): 0.2583175547741412 rate: 0.0362104901675546 i: 1364 ha.loc[0,'a'] 8384\n",
      "list(a)[0]: 8384 time: 0.04010939598083496 lenp(ha): 0.25804706518799025 rate: 0.03619618149125024 i: 1365 ha.loc[0,'a'] 7200\n",
      "list(a)[0]: 7200 time: 0.039109230041503906 lenp(ha): 0.2577765756018393 rate: 0.03618187281494589 i: 1366 ha.loc[0,'a'] 6224\n",
      "list(a)[0]: 6224 time: 0.033095359802246094 lenp(ha): 0.2575060860156884 rate: 0.036167564138641535 i: 1367 ha.loc[0,'a'] 7499\n",
      "list(a)[0]: 7499 time: 0.02607131004333496 lenp(ha): 0.25723559642953747 rate: 0.03615325546233718 i: 1368 ha.loc[0,'a'] 555\n",
      "list(a)[0]: 555 time: 0.04111146926879883 lenp(ha): 0.2569651068433865 rate: 0.03613894678603283 i: 1369 ha.loc[0,'a'] 6418\n",
      "list(a)[0]: 6418 time: 0.045122623443603516 lenp(ha): 0.2566946172572356 rate: 0.03612463810972847 i: 1370 ha.loc[0,'a'] 2055\n",
      "list(a)[0]: 2055 time: 0.04417538642883301 lenp(ha): 0.2564241276710847 rate: 0.03611032943342411 i: 1371 ha.loc[0,'a'] 6457\n",
      "list(a)[0]: 6457 time: 0.041116952896118164 lenp(ha): 0.25615363808493374 rate: 0.03609602075711976 i: 1372 ha.loc[0,'a'] 6297\n",
      "list(a)[0]: 6297 time: 0.03913164138793945 lenp(ha): 0.2558831484987828 rate: 0.036081712080815405 i: 1373 ha.loc[0,'a'] 74\n",
      "list(a)[0]: 74 time: 0.03511834144592285 lenp(ha): 0.25561265891263185 rate: 0.03606740340451105 i: 1374 ha.loc[0,'a'] 5509\n",
      "list(a)[0]: 5509 time: 0.04414939880371094 lenp(ha): 0.2553421693264809 rate: 0.03605309472820669 i: 1375 ha.loc[0,'a'] 8799\n",
      "list(a)[0]: 8799 time: 0.039131879806518555 lenp(ha): 0.25507167974033 rate: 0.03603878605190234 i: 1376 ha.loc[0,'a'] 4224\n",
      "list(a)[0]: 4224 time: 0.043769121170043945 lenp(ha): 0.25480119015417907 rate: 0.03602447737559798 i: 1377 ha.loc[0,'a'] 6272\n",
      "list(a)[0]: 6272 time: 0.03710341453552246 lenp(ha): 0.2545307005680281 rate: 0.036010168699293625 i: 1378 ha.loc[0,'a'] 7035\n",
      "list(a)[0]: 7035 time: 0.03916645050048828 lenp(ha): 0.2542602109818772 rate: 0.035995860022989275 i: 1379 ha.loc[0,'a'] 1607\n",
      "list(a)[0]: 1607 time: 0.04769158363342285 lenp(ha): 0.2539897213957263 rate: 0.03598155134668492 i: 1380 ha.loc[0,'a'] 6679\n",
      "list(a)[0]: 6679 time: 0.04013204574584961 lenp(ha): 0.25371923180957534 rate: 0.03596724267038056 i: 1381 ha.loc[0,'a'] 4180\n",
      "list(a)[0]: 4180 time: 0.0401303768157959 lenp(ha): 0.2534487422234244 rate: 0.03595293399407621 i: 1382 ha.loc[0,'a'] 4531\n",
      "list(a)[0]: 4531 time: 0.0536799430847168 lenp(ha): 0.25317825263727345 rate: 0.03593862531777185 i: 1383 ha.loc[0,'a'] 5360\n",
      "list(a)[0]: 5360 time: 0.03058338165283203 lenp(ha): 0.25290776305112256 rate: 0.035924316641467495 i: 1384 ha.loc[0,'a'] 4387\n",
      "list(a)[0]: 4387 time: 0.3350386619567871 lenp(ha): 0.2518258047065188 rate: 0.03577169076088771 i: 1385 ha.loc[0,'a'] 4395\n",
      "list(a)[0]: 4395 time: 0.032114505767822266 lenp(ha): 0.2515553151203679 rate: 0.03575738208458336 i: 1386 ha.loc[0,'a'] 5110\n",
      "list(a)[0]: 5110 time: 0.1143651008605957 lenp(ha): 0.251014335948066 rate: 0.03571922561443841 i: 1387 ha.loc[0,'a'] 4736\n",
      "list(a)[0]: 4736 time: 0.04136514663696289 lenp(ha): 0.25074384636191505 rate: 0.03570491693813405 i: 1388 ha.loc[0,'a'] 7002\n",
      "list(a)[0]: 7002 time: 0.04020357131958008 lenp(ha): 0.25047335677576416 rate: 0.035690608261829695 i: 1389 ha.loc[0,'a'] 5001\n",
      "list(a)[0]: 5001 time: 0.0456240177154541 lenp(ha): 0.2502028671896132 rate: 0.035676299585525345 i: 1390 ha.loc[0,'a'] 3071\n",
      "list(a)[0]: 3071 time: 0.04211115837097168 lenp(ha): 0.24993237760346226 rate: 0.03566199090922099 i: 1391 ha.loc[0,'a'] 1174\n",
      "list(a)[0]: 1174 time: 0.03912997245788574 lenp(ha): 0.24966188801731135 rate: 0.03564768223291663 i: 1392 ha.loc[0,'a'] 1275\n",
      "list(a)[0]: 1275 time: 0.033113956451416016 lenp(ha): 0.2493913984311604 rate: 0.03563337355661228 i: 1393 ha.loc[0,'a'] 1018\n",
      "list(a)[0]: 1018 time: 0.0320897102355957 lenp(ha): 0.24912090884500945 rate: 0.03561906488030792 i: 1394 ha.loc[0,'a'] 3089\n",
      "list(a)[0]: 3089 time: 0.03863382339477539 lenp(ha): 0.24885041925885854 rate: 0.035604756204003565 i: 1395 ha.loc[0,'a'] 4452\n",
      "list(a)[0]: 4452 time: 0.03609609603881836 lenp(ha): 0.2485799296727076 rate: 0.035590447527699215 i: 1396 ha.loc[0,'a'] 7302\n",
      "list(a)[0]: 7302 time: 0.04213881492614746 lenp(ha): 0.24830944008655667 rate: 0.03557613885139486 i: 1397 ha.loc[0,'a'] 8114\n",
      "list(a)[0]: 8114 time: 0.04311394691467285 lenp(ha): 0.24803895050040572 rate: 0.0355618301750905 i: 1398 ha.loc[0,'a'] 2552\n",
      "list(a)[0]: 2552 time: 0.02406454086303711 lenp(ha): 0.2477684609142548 rate: 0.03554752149878615 i: 1399 ha.loc[0,'a'] 8337\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 8337 time: 0.039174795150756836 lenp(ha): 0.24749797132810386 rate: 0.03553321282248179 i: 1400 ha.loc[0,'a'] 2286\n",
      "list(a)[0]: 2286 time: 0.04114580154418945 lenp(ha): 0.24722748174195294 rate: 0.035518904146177435 i: 1401 ha.loc[0,'a'] 1832\n",
      "list(a)[0]: 1832 time: 0.038100481033325195 lenp(ha): 0.246956992155802 rate: 0.035504595469873085 i: 1402 ha.loc[0,'a'] 441\n",
      "list(a)[0]: 441 time: 0.044115543365478516 lenp(ha): 0.24668650256965108 rate: 0.03549028679356873 i: 1403 ha.loc[0,'a'] 8711\n",
      "list(a)[0]: 8711 time: 0.040081024169921875 lenp(ha): 0.24641601298350013 rate: 0.03547597811726437 i: 1404 ha.loc[0,'a'] 6753\n",
      "list(a)[0]: 6753 time: 0.03860878944396973 lenp(ha): 0.24614552339734921 rate: 0.03546166944096002 i: 1405 ha.loc[0,'a'] 4538\n",
      "list(a)[0]: 4538 time: 0.03813529014587402 lenp(ha): 0.24587503381119827 rate: 0.03544736076465566 i: 1406 ha.loc[0,'a'] 4393\n",
      "list(a)[0]: 4393 time: 0.02606987953186035 lenp(ha): 0.24560454422504732 rate: 0.035433052088351305 i: 1407 ha.loc[0,'a'] 5992\n",
      "list(a)[0]: 5992 time: 0.02707219123840332 lenp(ha): 0.2453340546388964 rate: 0.035418743412046955 i: 1408 ha.loc[0,'a'] 2116\n",
      "list(a)[0]: 2116 time: 0.04812788963317871 lenp(ha): 0.24506356505274546 rate: 0.0354044347357426 i: 1409 ha.loc[0,'a'] 7180\n",
      "list(a)[0]: 7180 time: 0.031085729598999023 lenp(ha): 0.24479307546659454 rate: 0.03539012605943824 i: 1410 ha.loc[0,'a'] 5259\n",
      "list(a)[0]: 5259 time: 0.03509783744812012 lenp(ha): 0.2445225858804436 rate: 0.03537581738313389 i: 1411 ha.loc[0,'a'] 4771\n",
      "list(a)[0]: 4771 time: 0.03910398483276367 lenp(ha): 0.24425209629429268 rate: 0.03536150870682953 i: 1412 ha.loc[0,'a'] 2153\n",
      "list(a)[0]: 2153 time: 0.0381016731262207 lenp(ha): 0.24398160670814173 rate: 0.035347200030525175 i: 1413 ha.loc[0,'a'] 6356\n",
      "list(a)[0]: 6356 time: 0.03008103370666504 lenp(ha): 0.2437111171219908 rate: 0.035332891354220824 i: 1414 ha.loc[0,'a'] 4191\n",
      "list(a)[0]: 4191 time: 0.054151058197021484 lenp(ha): 0.24344062753583987 rate: 0.03531858267791647 i: 1415 ha.loc[0,'a'] 1439\n",
      "list(a)[0]: 1439 time: 0.04309415817260742 lenp(ha): 0.24317013794968895 rate: 0.03530427400161211 i: 1416 ha.loc[0,'a'] 6377\n",
      "list(a)[0]: 6377 time: 0.04011702537536621 lenp(ha): 0.242899648363538 rate: 0.03528996532530775 i: 1417 ha.loc[0,'a'] 646\n",
      "list(a)[0]: 646 time: 0.039673566818237305 lenp(ha): 0.24262915877738708 rate: 0.0352756566490034 i: 1418 ha.loc[0,'a'] 1357\n",
      "list(a)[0]: 1357 time: 0.04415106773376465 lenp(ha): 0.24235866919123614 rate: 0.035261347972699045 i: 1419 ha.loc[0,'a'] 1798\n",
      "list(a)[0]: 1798 time: 0.04010629653930664 lenp(ha): 0.2420881796050852 rate: 0.03524703929639469 i: 1420 ha.loc[0,'a'] 8825\n",
      "list(a)[0]: 8825 time: 0.04110908508300781 lenp(ha): 0.24181769001893427 rate: 0.03523273062009034 i: 1421 ha.loc[0,'a'] 6871\n",
      "list(a)[0]: 6871 time: 0.040137529373168945 lenp(ha): 0.24154720043278333 rate: 0.03521842194378598 i: 1422 ha.loc[0,'a'] 4974\n",
      "list(a)[0]: 4974 time: 0.04315328598022461 lenp(ha): 0.2412767108466324 rate: 0.03520411326748162 i: 1423 ha.loc[0,'a'] 3466\n",
      "list(a)[0]: 3466 time: 0.04017376899719238 lenp(ha): 0.24100622126048146 rate: 0.03518980459117727 i: 1424 ha.loc[0,'a'] 1106\n",
      "list(a)[0]: 1106 time: 0.02606797218322754 lenp(ha): 0.24073573167433054 rate: 0.035175495914872915 i: 1425 ha.loc[0,'a'] 1748\n",
      "list(a)[0]: 1748 time: 0.02506709098815918 lenp(ha): 0.2404652420881796 rate: 0.03516118723856856 i: 1426 ha.loc[0,'a'] 7431\n",
      "list(a)[0]: 7431 time: 0.0402371883392334 lenp(ha): 0.24019475250202868 rate: 0.03514687856226421 i: 1427 ha.loc[0,'a'] 339\n",
      "list(a)[0]: 339 time: 0.032091617584228516 lenp(ha): 0.23992426291587773 rate: 0.03513256988595985 i: 1428 ha.loc[0,'a'] 4417\n",
      "list(a)[0]: 4417 time: 0.056154727935791016 lenp(ha): 0.23965377332972682 rate: 0.03511826120965549 i: 1429 ha.loc[0,'a'] 6322\n",
      "list(a)[0]: 6322 time: 0.026072263717651367 lenp(ha): 0.23938328374357587 rate: 0.03510395253335114 i: 1430 ha.loc[0,'a'] 2665\n",
      "list(a)[0]: 2665 time: 0.03308701515197754 lenp(ha): 0.23911279415742495 rate: 0.035089643857046784 i: 1431 ha.loc[0,'a'] 7196\n",
      "list(a)[0]: 7196 time: 0.04308056831359863 lenp(ha): 0.238842304571274 rate: 0.03507533518074243 i: 1432 ha.loc[0,'a'] 2266\n",
      "list(a)[0]: 2266 time: 0.04514718055725098 lenp(ha): 0.23857181498512306 rate: 0.03506102650443808 i: 1433 ha.loc[0,'a'] 614\n",
      "list(a)[0]: 614 time: 0.046628713607788086 lenp(ha): 0.23830132539897214 rate: 0.03504671782813372 i: 1434 ha.loc[0,'a'] 6465\n",
      "list(a)[0]: 6465 time: 0.051111698150634766 lenp(ha): 0.2380308358128212 rate: 0.03503240915182936 i: 1435 ha.loc[0,'a'] 5892\n",
      "list(a)[0]: 5892 time: 0.035121917724609375 lenp(ha): 0.23776034622667028 rate: 0.03501810047552501 i: 1436 ha.loc[0,'a'] 651\n",
      "list(a)[0]: 651 time: 0.04011058807373047 lenp(ha): 0.23748985664051933 rate: 0.035003791799220654 i: 1437 ha.loc[0,'a'] 5294\n",
      "list(a)[0]: 5294 time: 0.03910422325134277 lenp(ha): 0.2372193670543684 rate: 0.0349894831229163 i: 1438 ha.loc[0,'a'] 5393\n",
      "list(a)[0]: 5393 time: 0.15140843391418457 lenp(ha): 0.23667838788206655 rate: 0.034937017976467 i: 1439 ha.loc[0,'a'] 3398\n",
      "list(a)[0]: 3398 time: 0.04111075401306152 lenp(ha): 0.2364078982959156 rate: 0.03492270930016264 i: 1440 ha.loc[0,'a'] 7588\n",
      "list(a)[0]: 7588 time: 0.03208327293395996 lenp(ha): 0.23613740870976468 rate: 0.034908400623858284 i: 1441 ha.loc[0,'a'] 5630\n",
      "list(a)[0]: 5630 time: 0.03811240196228027 lenp(ha): 0.23586691912361374 rate: 0.03489409194755393 i: 1442 ha.loc[0,'a'] 506\n",
      "list(a)[0]: 506 time: 0.032086849212646484 lenp(ha): 0.23559642953746282 rate: 0.034879783271249576 i: 1443 ha.loc[0,'a'] 8431\n",
      "list(a)[0]: 8431 time: 0.02406454086303711 lenp(ha): 0.23532593995131187 rate: 0.03486547459494522 i: 1444 ha.loc[0,'a'] 5442\n",
      "list(a)[0]: 5442 time: 0.04712271690368652 lenp(ha): 0.23505545036516093 rate: 0.03485116591864087 i: 1445 ha.loc[0,'a'] 3771\n",
      "list(a)[0]: 3771 time: 0.04111123085021973 lenp(ha): 0.23478496077901 rate: 0.03483685724233651 i: 1446 ha.loc[0,'a'] 5688\n",
      "list(a)[0]: 5688 time: 0.03312253952026367 lenp(ha): 0.23451447119285906 rate: 0.034822548566032153 i: 1447 ha.loc[0,'a'] 3780\n",
      "list(a)[0]: 3780 time: 0.04717731475830078 lenp(ha): 0.23424398160670815 rate: 0.0348082398897278 i: 1448 ha.loc[0,'a'] 2449\n",
      "list(a)[0]: 2449 time: 0.031082868576049805 lenp(ha): 0.2339734920205572 rate: 0.034793931213423446 i: 1449 ha.loc[0,'a'] 665\n",
      "list(a)[0]: 665 time: 0.03913712501525879 lenp(ha): 0.23370300243440628 rate: 0.03477962253711909 i: 1450 ha.loc[0,'a'] 746\n",
      "list(a)[0]: 746 time: 0.040106773376464844 lenp(ha): 0.23343251284825534 rate: 0.03476531386081474 i: 1451 ha.loc[0,'a'] 4401\n",
      "list(a)[0]: 4401 time: 0.0245668888092041 lenp(ha): 0.23316202326210442 rate: 0.03475100518451038 i: 1452 ha.loc[0,'a'] 7319\n",
      "list(a)[0]: 7319 time: 0.03359627723693848 lenp(ha): 0.23289153367595347 rate: 0.03473669650820602 i: 1453 ha.loc[0,'a'] 7346\n",
      "list(a)[0]: 7346 time: 0.0876309871673584 lenp(ha): 0.2323505545036516 rate: 0.034708079155597316 i: 1454 ha.loc[0,'a'] 7182\n",
      "list(a)[0]: 7182 time: 0.026132583618164062 lenp(ha): 0.2320800649175007 rate: 0.03469377047929296 i: 1455 ha.loc[0,'a'] 7396\n",
      "list(a)[0]: 7396 time: 0.05767488479614258 lenp(ha): 0.23180957533134974 rate: 0.03467946180298861 i: 1456 ha.loc[0,'a'] 5907\n",
      "list(a)[0]: 5907 time: 0.031080245971679688 lenp(ha): 0.2315390857451988 rate: 0.03466515312668425 i: 1457 ha.loc[0,'a'] 2755\n",
      "list(a)[0]: 2755 time: 0.044115304946899414 lenp(ha): 0.23126859615904788 rate: 0.03465084445037989 i: 1458 ha.loc[0,'a'] 7834\n",
      "list(a)[0]: 7834 time: 0.04913163185119629 lenp(ha): 0.23099810657289693 rate: 0.03463653577407554 i: 1459 ha.loc[0,'a'] 706\n",
      "list(a)[0]: 706 time: 0.042111873626708984 lenp(ha): 0.23072761698674601 rate: 0.034622227097771185 i: 1460 ha.loc[0,'a'] 6531\n",
      "list(a)[0]: 6531 time: 0.04210925102233887 lenp(ha): 0.23045712740059507 rate: 0.03460791842146683 i: 1461 ha.loc[0,'a'] 8449\n",
      "list(a)[0]: 8449 time: 0.039632558822631836 lenp(ha): 0.23018663781444415 rate: 0.03459360974516248 i: 1462 ha.loc[0,'a'] 6559\n",
      "list(a)[0]: 6559 time: 0.05362343788146973 lenp(ha): 0.2299161482282932 rate: 0.03457930106885812 i: 1463 ha.loc[0,'a'] 4947\n",
      "list(a)[0]: 4947 time: 0.03212428092956543 lenp(ha): 0.2296456586421423 rate: 0.03456499239255376 i: 1464 ha.loc[0,'a'] 1356\n",
      "list(a)[0]: 1356 time: 0.03907632827758789 lenp(ha): 0.22937516905599134 rate: 0.03455068371624941 i: 1465 ha.loc[0,'a'] 6537\n",
      "list(a)[0]: 6537 time: 0.04712367057800293 lenp(ha): 0.22910467946984042 rate: 0.034536375039945055 i: 1466 ha.loc[0,'a'] 3921\n",
      "list(a)[0]: 3921 time: 0.046121835708618164 lenp(ha): 0.22883418988368948 rate: 0.0345220663636407 i: 1467 ha.loc[0,'a'] 4265\n",
      "list(a)[0]: 4265 time: 0.04311394691467285 lenp(ha): 0.22856370029753856 rate: 0.03450775768733635 i: 1468 ha.loc[0,'a'] 7789\n",
      "list(a)[0]: 7789 time: 0.04907846450805664 lenp(ha): 0.2282932107113876 rate: 0.03449344901103199 i: 1469 ha.loc[0,'a'] 4428\n",
      "list(a)[0]: 4428 time: 0.03415203094482422 lenp(ha): 0.22802272112523667 rate: 0.03447914033472763 i: 1470 ha.loc[0,'a'] 6799\n",
      "list(a)[0]: 6799 time: 0.039110660552978516 lenp(ha): 0.22775223153908575 rate: 0.03446483165842328 i: 1471 ha.loc[0,'a'] 4855\n",
      "list(a)[0]: 4855 time: 0.030055999755859375 lenp(ha): 0.2274817419529348 rate: 0.034450522982118925 i: 1472 ha.loc[0,'a'] 5728\n",
      "list(a)[0]: 5728 time: 0.043115854263305664 lenp(ha): 0.22721125236678388 rate: 0.03443621430581457 i: 1473 ha.loc[0,'a'] 4716\n",
      "list(a)[0]: 4716 time: 0.04214167594909668 lenp(ha): 0.22694076278063294 rate: 0.03442190562951022 i: 1474 ha.loc[0,'a'] 5910\n",
      "list(a)[0]: 5910 time: 0.04010605812072754 lenp(ha): 0.22667027319448202 rate: 0.03440759695320586 i: 1475 ha.loc[0,'a'] 94\n",
      "list(a)[0]: 94 time: 0.04418373107910156 lenp(ha): 0.22639978360833107 rate: 0.0343932882769015 i: 1476 ha.loc[0,'a'] 7731\n",
      "list(a)[0]: 7731 time: 0.027574777603149414 lenp(ha): 0.22612929402218016 rate: 0.034378979600597145 i: 1477 ha.loc[0,'a'] 3813\n",
      "list(a)[0]: 3813 time: 0.03560018539428711 lenp(ha): 0.2258588044360292 rate: 0.034364670924292795 i: 1478 ha.loc[0,'a'] 3401\n",
      "list(a)[0]: 3401 time: 0.03511953353881836 lenp(ha): 0.2255883148498783 rate: 0.03435036224798844 i: 1479 ha.loc[0,'a'] 7797\n",
      "list(a)[0]: 7797 time: 0.046120643615722656 lenp(ha): 0.22531782526372734 rate: 0.03433605357168408 i: 1480 ha.loc[0,'a'] 6545\n",
      "list(a)[0]: 6545 time: 0.041107177734375 lenp(ha): 0.22504733567757643 rate: 0.03432174489537973 i: 1481 ha.loc[0,'a'] 464\n",
      "list(a)[0]: 464 time: 0.02414536476135254 lenp(ha): 0.22477684609142548 rate: 0.03430743621907537 i: 1482 ha.loc[0,'a'] 4239\n",
      "list(a)[0]: 4239 time: 0.04869270324707031 lenp(ha): 0.22450635650527453 rate: 0.034293127542771015 i: 1483 ha.loc[0,'a'] 1845\n",
      "list(a)[0]: 1845 time: 0.039609432220458984 lenp(ha): 0.22423586691912362 rate: 0.034278818866466665 i: 1484 ha.loc[0,'a'] 242\n",
      "list(a)[0]: 242 time: 0.09625983238220215 lenp(ha): 0.22369488774682175 rate: 0.03424543195508983 i: 1485 ha.loc[0,'a'] 4699\n",
      "list(a)[0]: 4699 time: 0.04014182090759277 lenp(ha): 0.2234243981606708 rate: 0.03423112327878548 i: 1486 ha.loc[0,'a'] 6936\n",
      "list(a)[0]: 6936 time: 0.04117250442504883 lenp(ha): 0.2231539085745199 rate: 0.034216814602481126 i: 1487 ha.loc[0,'a'] 5401\n",
      "list(a)[0]: 5401 time: 0.040585994720458984 lenp(ha): 0.22288341898836894 rate: 0.03420250592617677 i: 1488 ha.loc[0,'a'] 5996\n",
      "list(a)[0]: 5996 time: 0.031075239181518555 lenp(ha): 0.22261292940221802 rate: 0.03418819724987241 i: 1489 ha.loc[0,'a'] 6835\n",
      "list(a)[0]: 6835 time: 0.04211139678955078 lenp(ha): 0.22234243981606708 rate: 0.03417388857356806 i: 1490 ha.loc[0,'a'] 6125\n",
      "list(a)[0]: 6125 time: 0.05117011070251465 lenp(ha): 0.22207195022991616 rate: 0.0341595798972637 i: 1491 ha.loc[0,'a'] 7698\n",
      "list(a)[0]: 7698 time: 0.04425191879272461 lenp(ha): 0.2218014606437652 rate: 0.034145271220959346 i: 1492 ha.loc[0,'a'] 5237\n",
      "list(a)[0]: 5237 time: 0.0421137809753418 lenp(ha): 0.2215309710576143 rate: 0.034130962544654996 i: 1493 ha.loc[0,'a'] 1407\n",
      "list(a)[0]: 1407 time: 0.03374886512756348 lenp(ha): 0.22126048147146335 rate: 0.03411665386835064 i: 1494 ha.loc[0,'a'] 3704\n",
      "list(a)[0]: 3704 time: 0.03907632827758789 lenp(ha): 0.2209899918853124 rate: 0.03410234519204628 i: 1495 ha.loc[0,'a'] 1851\n",
      "list(a)[0]: 1851 time: 0.03609800338745117 lenp(ha): 0.22071950229916149 rate: 0.03408803651574193 i: 1496 ha.loc[0,'a'] 3693\n",
      "list(a)[0]: 3693 time: 0.03208446502685547 lenp(ha): 0.22044901271301054 rate: 0.03407372783943757 i: 1497 ha.loc[0,'a'] 2311\n",
      "list(a)[0]: 2311 time: 0.039109230041503906 lenp(ha): 0.22017852312685962 rate: 0.034059419163133216 i: 1498 ha.loc[0,'a'] 6889\n",
      "list(a)[0]: 6889 time: 0.04512667655944824 lenp(ha): 0.21990803354070868 rate: 0.034045110486828865 i: 1499 ha.loc[0,'a'] 8223\n",
      "list(a)[0]: 8223 time: 0.32488346099853516 lenp(ha): 0.2190965647822559 rate: 0.033873406371176605 i: 1500 ha.loc[0,'a'] 412\n",
      "list(a)[0]: 412 time: 0.04314160346984863 lenp(ha): 0.21882607519610495 rate: 0.03385909769487225 i: 1501 ha.loc[0,'a'] 7892\n",
      "list(a)[0]: 7892 time: 0.04313993453979492 lenp(ha): 0.21855558560995403 rate: 0.03384478901856789 i: 1502 ha.loc[0,'a'] 1176\n",
      "list(a)[0]: 1176 time: 0.04113888740539551 lenp(ha): 0.21828509602380308 rate: 0.03383048034226354 i: 1503 ha.loc[0,'a'] 8828\n",
      "list(a)[0]: 8828 time: 0.024464130401611328 lenp(ha): 0.21801460643765216 rate: 0.03381617166595918 i: 1504 ha.loc[0,'a'] 44\n",
      "list(a)[0]: 44 time: 0.04013967514038086 lenp(ha): 0.21774411685150122 rate: 0.033801862989654825 i: 1505 ha.loc[0,'a'] 6302\n",
      "list(a)[0]: 6302 time: 0.035128116607666016 lenp(ha): 0.21747362726535027 rate: 0.033787554313350475 i: 1506 ha.loc[0,'a'] 2460\n",
      "list(a)[0]: 2460 time: 0.039104461669921875 lenp(ha): 0.21720313767919935 rate: 0.03377324563704612 i: 1507 ha.loc[0,'a'] 4634\n",
      "list(a)[0]: 4634 time: 0.04211068153381348 lenp(ha): 0.2169326480930484 rate: 0.03375893696074176 i: 1508 ha.loc[0,'a'] 638\n",
      "list(a)[0]: 638 time: 0.0381317138671875 lenp(ha): 0.2166621585068975 rate: 0.03374462828443741 i: 1509 ha.loc[0,'a'] 40\n",
      "list(a)[0]: 40 time: 0.0386197566986084 lenp(ha): 0.21639166892074654 rate: 0.03373031960813305 i: 1510 ha.loc[0,'a'] 6006\n",
      "list(a)[0]: 6006 time: 0.047165632247924805 lenp(ha): 0.21612117933459563 rate: 0.033716010931828695 i: 1511 ha.loc[0,'a'] 7146\n",
      "list(a)[0]: 7146 time: 0.02456498146057129 lenp(ha): 0.21585068974844468 rate: 0.033701702255524345 i: 1512 ha.loc[0,'a'] 4192\n",
      "list(a)[0]: 4192 time: 0.031052112579345703 lenp(ha): 0.21558020016229376 rate: 0.03368739357921999 i: 1513 ha.loc[0,'a'] 1902\n",
      "list(a)[0]: 1902 time: 0.033087730407714844 lenp(ha): 0.21530971057614282 rate: 0.03367308490291563 i: 1514 ha.loc[0,'a'] 6437\n",
      "list(a)[0]: 6437 time: 0.024122238159179688 lenp(ha): 0.2150392209899919 rate: 0.03365877622661127 i: 1515 ha.loc[0,'a'] 3160\n",
      "list(a)[0]: 3160 time: 0.05114245414733887 lenp(ha): 0.21476873140384095 rate: 0.03364446755030692 i: 1516 ha.loc[0,'a'] 6028\n",
      "list(a)[0]: 6028 time: 0.04609513282775879 lenp(ha): 0.21449824181769 rate: 0.033630158874002565 i: 1517 ha.loc[0,'a'] 6071\n",
      "list(a)[0]: 6071 time: 0.034090280532836914 lenp(ha): 0.2142277522315391 rate: 0.03361585019769821 i: 1518 ha.loc[0,'a'] 8220\n",
      "list(a)[0]: 8220 time: 0.04912972450256348 lenp(ha): 0.21395726264538814 rate: 0.03360154152139386 i: 1519 ha.loc[0,'a'] 6090\n",
      "list(a)[0]: 6090 time: 0.04211139678955078 lenp(ha): 0.21368677305923722 rate: 0.0335872328450895 i: 1520 ha.loc[0,'a'] 3253\n",
      "list(a)[0]: 3253 time: 0.05715370178222656 lenp(ha): 0.21341628347308628 rate: 0.03357292416878514 i: 1521 ha.loc[0,'a'] 3760\n",
      "list(a)[0]: 3760 time: 0.03910422325134277 lenp(ha): 0.21314579388693536 rate: 0.03355861549248079 i: 1522 ha.loc[0,'a'] 5431\n",
      "list(a)[0]: 5431 time: 0.03246951103210449 lenp(ha): 0.2128753043007844 rate: 0.033544306816176435 i: 1523 ha.loc[0,'a'] 8155\n",
      "list(a)[0]: 8155 time: 0.050168752670288086 lenp(ha): 0.2126048147146335 rate: 0.03352999813987208 i: 1524 ha.loc[0,'a'] 7474\n",
      "list(a)[0]: 7474 time: 0.027075529098510742 lenp(ha): 0.21233432512848255 rate: 0.03351568946356773 i: 1525 ha.loc[0,'a'] 3895\n",
      "list(a)[0]: 3895 time: 0.04010605812072754 lenp(ha): 0.21206383554233163 rate: 0.03350138078726337 i: 1526 ha.loc[0,'a'] 6027\n",
      "list(a)[0]: 6027 time: 0.03211617469787598 lenp(ha): 0.21179334595618068 rate: 0.03348707211095901 i: 1527 ha.loc[0,'a'] 4419\n",
      "list(a)[0]: 4419 time: 0.03940320014953613 lenp(ha): 0.21152285637002977 rate: 0.03347276343465466 i: 1528 ha.loc[0,'a'] 923\n",
      "list(a)[0]: 923 time: 0.05114436149597168 lenp(ha): 0.21125236678387882 rate: 0.033458454758350305 i: 1529 ha.loc[0,'a'] 2873\n",
      "list(a)[0]: 2873 time: 0.030874013900756836 lenp(ha): 0.21098187719772787 rate: 0.03344414608204595 i: 1530 ha.loc[0,'a'] 926\n",
      "list(a)[0]: 926 time: 0.0325770378112793 lenp(ha): 0.21071138761157696 rate: 0.0334298374057416 i: 1531 ha.loc[0,'a'] 8209\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 8209 time: 0.04709649085998535 lenp(ha): 0.210440898025426 rate: 0.03341552872943724 i: 1532 ha.loc[0,'a'] 2211\n",
      "list(a)[0]: 2211 time: 0.03208589553833008 lenp(ha): 0.2101704084392751 rate: 0.03340122005313288 i: 1533 ha.loc[0,'a'] 7447\n",
      "list(a)[0]: 7447 time: 0.03133654594421387 lenp(ha): 0.20989991885312415 rate: 0.03338691137682853 i: 1534 ha.loc[0,'a'] 6529\n",
      "list(a)[0]: 6529 time: 0.03509664535522461 lenp(ha): 0.20962942926697323 rate: 0.033372602700524175 i: 1535 ha.loc[0,'a'] 675\n",
      "list(a)[0]: 675 time: 0.0406644344329834 lenp(ha): 0.20935893968082228 rate: 0.03335829402421982 i: 1536 ha.loc[0,'a'] 5850\n",
      "list(a)[0]: 5850 time: 0.04010725021362305 lenp(ha): 0.20908845009467136 rate: 0.03334398534791547 i: 1537 ha.loc[0,'a'] 2754\n",
      "list(a)[0]: 2754 time: 0.05116629600524902 lenp(ha): 0.20881796050852042 rate: 0.03332967667161111 i: 1538 ha.loc[0,'a'] 7881\n",
      "list(a)[0]: 7881 time: 0.042142391204833984 lenp(ha): 0.2085474709223695 rate: 0.03331536799530675 i: 1539 ha.loc[0,'a'] 4498\n",
      "list(a)[0]: 4498 time: 0.03910565376281738 lenp(ha): 0.20827698133621855 rate: 0.0333010593190024 i: 1540 ha.loc[0,'a'] 61\n",
      "list(a)[0]: 61 time: 0.026573657989501953 lenp(ha): 0.20800649175006763 rate: 0.033286750642698044 i: 1541 ha.loc[0,'a'] 7482\n",
      "list(a)[0]: 7482 time: 0.24566650390625 lenp(ha): 0.20746551257776574 rate: 0.03311027696827767 i: 1542 ha.loc[0,'a'] 4006\n",
      "list(a)[0]: 4006 time: 0.039606332778930664 lenp(ha): 0.20719502299161482 rate: 0.03309596829197331 i: 1543 ha.loc[0,'a'] 1602\n",
      "list(a)[0]: 1602 time: 0.04010772705078125 lenp(ha): 0.20692453340546388 rate: 0.03308165961566895 i: 1544 ha.loc[0,'a'] 3282\n",
      "list(a)[0]: 3282 time: 0.03709769248962402 lenp(ha): 0.20665404381931296 rate: 0.03307212049813272 i: 1545 ha.loc[0,'a'] 2346\n",
      "list(a)[0]: 2346 time: 0.0416414737701416 lenp(ha): 0.20638355423316201 rate: 0.03305781182182836 i: 1546 ha.loc[0,'a'] 3095\n",
      "list(a)[0]: 3095 time: 0.03312873840332031 lenp(ha): 0.2061130646470111 rate: 0.033043503145524004 i: 1547 ha.loc[0,'a'] 2173\n",
      "list(a)[0]: 2173 time: 0.04512357711791992 lenp(ha): 0.20584257506086015 rate: 0.033029194469219654 i: 1548 ha.loc[0,'a'] 4992\n",
      "list(a)[0]: 4992 time: 0.06721377372741699 lenp(ha): 0.20557208547470923 rate: 0.03301011623414718 i: 1549 ha.loc[0,'a'] 5443\n",
      "list(a)[0]: 5443 time: 0.046155452728271484 lenp(ha): 0.20530159588855829 rate: 0.032991037999074706 i: 1550 ha.loc[0,'a'] 1975\n",
      "list(a)[0]: 1975 time: 0.04010796546936035 lenp(ha): 0.20503110630240737 rate: 0.03297195976400223 i: 1551 ha.loc[0,'a'] 3698\n",
      "list(a)[0]: 3698 time: 0.045120954513549805 lenp(ha): 0.20476061671625642 rate: 0.03295288152892976 i: 1552 ha.loc[0,'a'] 5747\n",
      "list(a)[0]: 5747 time: 0.05815458297729492 lenp(ha): 0.2044901271301055 rate: 0.03293380329385728 i: 1553 ha.loc[0,'a'] 1540\n",
      "list(a)[0]: 1540 time: 0.045119524002075195 lenp(ha): 0.20421963754395456 rate: 0.03291472505878481 i: 1554 ha.loc[0,'a'] 7006\n",
      "list(a)[0]: 7006 time: 0.05016446113586426 lenp(ha): 0.2039491479578036 rate: 0.032895646823712335 i: 1555 ha.loc[0,'a'] 4163\n",
      "list(a)[0]: 4163 time: 0.051137685775756836 lenp(ha): 0.2036786583716527 rate: 0.03287656858863987 i: 1556 ha.loc[0,'a'] 6954\n",
      "list(a)[0]: 6954 time: 0.04327225685119629 lenp(ha): 0.20340816878550175 rate: 0.032857490353567394 i: 1557 ha.loc[0,'a'] 2170\n",
      "list(a)[0]: 2170 time: 0.05715751647949219 lenp(ha): 0.20313767919935083 rate: 0.03283841211849492 i: 1558 ha.loc[0,'a'] 8597\n",
      "list(a)[0]: 8597 time: 0.05364513397216797 lenp(ha): 0.20286718961319988 rate: 0.032819333883422445 i: 1559 ha.loc[0,'a'] 3143\n",
      "list(a)[0]: 3143 time: 0.05774331092834473 lenp(ha): 0.20259670002704896 rate: 0.03280025564834997 i: 1560 ha.loc[0,'a'] 5598\n",
      "list(a)[0]: 5598 time: 0.036125898361206055 lenp(ha): 0.20232621044089802 rate: 0.0327811774132775 i: 1561 ha.loc[0,'a'] 1284\n",
      "list(a)[0]: 1284 time: 0.06217312812805176 lenp(ha): 0.2020557208547471 rate: 0.03276209917820502 i: 1562 ha.loc[0,'a'] 6900\n",
      "list(a)[0]: 6900 time: 0.054206132888793945 lenp(ha): 0.20178523126859615 rate: 0.03274302094313255 i: 1563 ha.loc[0,'a'] 3547\n",
      "list(a)[0]: 3547 time: 0.038134098052978516 lenp(ha): 0.20151474168244524 rate: 0.032723942708060075 i: 1564 ha.loc[0,'a'] 1187\n",
      "list(a)[0]: 1187 time: 0.0540926456451416 lenp(ha): 0.2012442520962943 rate: 0.0327048644729876 i: 1565 ha.loc[0,'a'] 6278\n",
      "list(a)[0]: 6278 time: 0.05217266082763672 lenp(ha): 0.20097376251014337 rate: 0.03268578623791513 i: 1566 ha.loc[0,'a'] 3833\n",
      "list(a)[0]: 3833 time: 0.052088022232055664 lenp(ha): 0.20070327292399243 rate: 0.03266670800284266 i: 1567 ha.loc[0,'a'] 6466\n",
      "list(a)[0]: 6466 time: 0.05314493179321289 lenp(ha): 0.20043278333784148 rate: 0.032647629767770185 i: 1568 ha.loc[0,'a'] 7919\n",
      "list(a)[0]: 7919 time: 0.05314779281616211 lenp(ha): 0.20016229375169056 rate: 0.03262855153269771 i: 1569 ha.loc[0,'a'] 2707\n",
      "list(a)[0]: 2707 time: 0.05816006660461426 lenp(ha): 0.19989180416553962 rate: 0.03260947329762524 i: 1570 ha.loc[0,'a'] 5775\n",
      "list(a)[0]: 5775 time: 0.035094261169433594 lenp(ha): 0.1996213145793887 rate: 0.03259039506255276 i: 1571 ha.loc[0,'a'] 7268\n",
      "list(a)[0]: 7268 time: 0.04810142517089844 lenp(ha): 0.19935082499323775 rate: 0.03257131682748029 i: 1572 ha.loc[0,'a'] 8634\n",
      "list(a)[0]: 8634 time: 0.03509330749511719 lenp(ha): 0.19908033540708683 rate: 0.032552238592407814 i: 1573 ha.loc[0,'a'] 5357\n",
      "list(a)[0]: 5357 time: 0.05821990966796875 lenp(ha): 0.1988098458209359 rate: 0.03253316035733534 i: 1574 ha.loc[0,'a'] 5675\n",
      "list(a)[0]: 5675 time: 0.05617928504943848 lenp(ha): 0.19853935623478497 rate: 0.032514082122262866 i: 1575 ha.loc[0,'a'] 3378\n",
      "list(a)[0]: 3378 time: 0.051134347915649414 lenp(ha): 0.19826886664863402 rate: 0.0324950038871904 i: 1576 ha.loc[0,'a'] 6023\n",
      "list(a)[0]: 6023 time: 0.26727294921875 lenp(ha): 0.19745739789018124 rate: 0.032380534476755554 i: 1577 ha.loc[0,'a'] 1969\n",
      "list(a)[0]: 1969 time: 0.04815363883972168 lenp(ha): 0.1971869083040303 rate: 0.03236145624168308 i: 1578 ha.loc[0,'a'] 4866\n",
      "list(a)[0]: 4866 time: 0.04612302780151367 lenp(ha): 0.19691641871787935 rate: 0.032342378006610606 i: 1579 ha.loc[0,'a'] 5423\n",
      "list(a)[0]: 5423 time: 0.1373746395111084 lenp(ha): 0.19637543954557748 rate: 0.03228991286016131 i: 1580 ha.loc[0,'a'] 5351\n",
      "list(a)[0]: 5351 time: 0.05217695236206055 lenp(ha): 0.19610494995942657 rate: 0.03227083462508883 i: 1581 ha.loc[0,'a'] 8588\n",
      "list(a)[0]: 8588 time: 0.03914332389831543 lenp(ha): 0.19583446037327562 rate: 0.03225175639001636 i: 1582 ha.loc[0,'a'] 6429\n",
      "list(a)[0]: 6429 time: 0.037746429443359375 lenp(ha): 0.1955639707871247 rate: 0.032232678154943885 i: 1583 ha.loc[0,'a'] 6684\n",
      "list(a)[0]: 6684 time: 0.05515146255493164 lenp(ha): 0.19529348120097376 rate: 0.03221359991987141 i: 1584 ha.loc[0,'a'] 7101\n",
      "list(a)[0]: 7101 time: 0.05214047431945801 lenp(ha): 0.19502299161482284 rate: 0.03219452168479894 i: 1585 ha.loc[0,'a'] 1964\n",
      "list(a)[0]: 1964 time: 0.1088571548461914 lenp(ha): 0.19448201244252097 rate: 0.03215159565588587 i: 1586 ha.loc[0,'a'] 6996\n",
      "list(a)[0]: 6996 time: 0.02757430076599121 lenp(ha): 0.19421152285637003 rate: 0.0321325174208134 i: 1587 ha.loc[0,'a'] 6274\n",
      "list(a)[0]: 6274 time: 0.15300631523132324 lenp(ha): 0.19367054368406816 rate: 0.0320800522743641 i: 1588 ha.loc[0,'a'] 2926\n",
      "list(a)[0]: 2926 time: 0.038661956787109375 lenp(ha): 0.19340005409791722 rate: 0.032060974039291625 i: 1589 ha.loc[0,'a'] 1830\n",
      "list(a)[0]: 1830 time: 0.0310819149017334 lenp(ha): 0.1931295645117663 rate: 0.03204189580421915 i: 1590 ha.loc[0,'a'] 7758\n",
      "list(a)[0]: 7758 time: 0.03606414794921875 lenp(ha): 0.19285907492561535 rate: 0.032022817569146676 i: 1591 ha.loc[0,'a'] 3979\n",
      "list(a)[0]: 3979 time: 0.05915498733520508 lenp(ha): 0.19258858533946444 rate: 0.0320037393340742 i: 1592 ha.loc[0,'a'] 2912\n",
      "list(a)[0]: 2912 time: 0.04311418533325195 lenp(ha): 0.1923180957533135 rate: 0.03198466109900173 i: 1593 ha.loc[0,'a'] 5927\n",
      "list(a)[0]: 5927 time: 0.059597015380859375 lenp(ha): 0.19204760616716257 rate: 0.03196558286392926 i: 1594 ha.loc[0,'a'] 8852\n",
      "list(a)[0]: 8852 time: 0.04608941078186035 lenp(ha): 0.19177711658101163 rate: 0.03194650462885679 i: 1595 ha.loc[0,'a'] 1642\n",
      "list(a)[0]: 1642 time: 0.05164027214050293 lenp(ha): 0.1915066269948607 rate: 0.03192742639378431 i: 1596 ha.loc[0,'a'] 7528\n",
      "list(a)[0]: 7528 time: 0.05364561080932617 lenp(ha): 0.19123613740870976 rate: 0.03190834815871184 i: 1597 ha.loc[0,'a'] 1036\n",
      "list(a)[0]: 1036 time: 0.0426182746887207 lenp(ha): 0.19096564782255884 rate: 0.031889269923639364 i: 1598 ha.loc[0,'a'] 3379\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3379 time: 0.03811216354370117 lenp(ha): 0.1906951582364079 rate: 0.03187019168856689 i: 1599 ha.loc[0,'a'] 1377\n",
      "list(a)[0]: 1377 time: 0.054207801818847656 lenp(ha): 0.19042466865025698 rate: 0.031851113453494416 i: 1600 ha.loc[0,'a'] 6346\n",
      "list(a)[0]: 6346 time: 0.05016303062438965 lenp(ha): 0.19015417906410603 rate: 0.03183203521842194 i: 1601 ha.loc[0,'a'] 8610\n",
      "list(a)[0]: 8610 time: 0.05214381217956543 lenp(ha): 0.1898836894779551 rate: 0.03181295698334947 i: 1602 ha.loc[0,'a'] 8496\n",
      "list(a)[0]: 8496 time: 0.05515122413635254 lenp(ha): 0.18961319989180417 rate: 0.031793878748276994 i: 1603 ha.loc[0,'a'] 226\n",
      "list(a)[0]: 226 time: 0.042615413665771484 lenp(ha): 0.18934271030565322 rate: 0.031774800513204526 i: 1604 ha.loc[0,'a'] 4382\n",
      "list(a)[0]: 4382 time: 0.03007817268371582 lenp(ha): 0.1890722207195023 rate: 0.03175572227813205 i: 1605 ha.loc[0,'a'] 2287\n",
      "list(a)[0]: 2287 time: 0.061162471771240234 lenp(ha): 0.18880173113335136 rate: 0.03173664404305958 i: 1606 ha.loc[0,'a'] 1916\n",
      "list(a)[0]: 1916 time: 0.051134586334228516 lenp(ha): 0.18853124154720044 rate: 0.031717565807987104 i: 1607 ha.loc[0,'a'] 6165\n",
      "list(a)[0]: 6165 time: 0.054143428802490234 lenp(ha): 0.1882607519610495 rate: 0.03169848757291463 i: 1608 ha.loc[0,'a'] 8045\n",
      "list(a)[0]: 8045 time: 0.03712630271911621 lenp(ha): 0.18799026237489858 rate: 0.031679409337842156 i: 1609 ha.loc[0,'a'] 4924\n",
      "list(a)[0]: 4924 time: 0.036095619201660156 lenp(ha): 0.18771977278874763 rate: 0.03166033110276968 i: 1610 ha.loc[0,'a'] 5317\n",
      "list(a)[0]: 5317 time: 0.056156158447265625 lenp(ha): 0.1874492832025967 rate: 0.03164125286769721 i: 1611 ha.loc[0,'a'] 5761\n",
      "list(a)[0]: 5761 time: 0.05217242240905762 lenp(ha): 0.18717879361644577 rate: 0.03162217463262473 i: 1612 ha.loc[0,'a'] 4872\n",
      "list(a)[0]: 4872 time: 0.037601470947265625 lenp(ha): 0.18690830403029485 rate: 0.03160309639755226 i: 1613 ha.loc[0,'a'] 5476\n",
      "list(a)[0]: 5476 time: 0.05768227577209473 lenp(ha): 0.1866378144441439 rate: 0.03158401816247979 i: 1614 ha.loc[0,'a'] 7830\n",
      "list(a)[0]: 7830 time: 0.04966545104980469 lenp(ha): 0.18636732485799296 rate: 0.03156493992740732 i: 1615 ha.loc[0,'a'] 8679\n",
      "list(a)[0]: 8679 time: 0.044207096099853516 lenp(ha): 0.18609683527184204 rate: 0.031545861692334844 i: 1616 ha.loc[0,'a'] 5562\n",
      "list(a)[0]: 5562 time: 0.044146060943603516 lenp(ha): 0.1858263456856911 rate: 0.03152678345726237 i: 1617 ha.loc[0,'a'] 3661\n",
      "list(a)[0]: 3661 time: 0.03913283348083496 lenp(ha): 0.18555585609954017 rate: 0.031507705222189895 i: 1618 ha.loc[0,'a'] 1639\n",
      "list(a)[0]: 1639 time: 0.06402468681335449 lenp(ha): 0.18528536651338923 rate: 0.03148862698711742 i: 1619 ha.loc[0,'a'] 4669\n",
      "list(a)[0]: 4669 time: 0.030079126358032227 lenp(ha): 0.1850148769272383 rate: 0.03146954875204495 i: 1620 ha.loc[0,'a'] 3574\n",
      "list(a)[0]: 3574 time: 0.04013943672180176 lenp(ha): 0.18474438734108736 rate: 0.03145047051697247 i: 1621 ha.loc[0,'a'] 3820\n",
      "list(a)[0]: 3820 time: 0.03912806510925293 lenp(ha): 0.18447389775493644 rate: 0.0314313922819 i: 1622 ha.loc[0,'a'] 2452\n",
      "list(a)[0]: 2452 time: 0.051484107971191406 lenp(ha): 0.1842034081687855 rate: 0.031412314046827525 i: 1623 ha.loc[0,'a'] 6251\n",
      "list(a)[0]: 6251 time: 0.03860831260681152 lenp(ha): 0.18393291858263458 rate: 0.03139323581175506 i: 1624 ha.loc[0,'a'] 7853\n",
      "list(a)[0]: 7853 time: 0.04816889762878418 lenp(ha): 0.18366242899648363 rate: 0.03137415757668258 i: 1625 ha.loc[0,'a'] 4554\n",
      "list(a)[0]: 4554 time: 0.04412436485290527 lenp(ha): 0.18339193941033272 rate: 0.03135507934161011 i: 1626 ha.loc[0,'a'] 1183\n",
      "list(a)[0]: 1183 time: 0.05217862129211426 lenp(ha): 0.18312144982418177 rate: 0.031336001106537635 i: 1627 ha.loc[0,'a'] 3364\n",
      "list(a)[0]: 3364 time: 0.05764055252075195 lenp(ha): 0.18285096023803082 rate: 0.03131692287146516 i: 1628 ha.loc[0,'a'] 8234\n",
      "list(a)[0]: 8234 time: 0.0506746768951416 lenp(ha): 0.1825804706518799 rate: 0.03129784463639269 i: 1629 ha.loc[0,'a'] 6300\n",
      "list(a)[0]: 6300 time: 0.05618476867675781 lenp(ha): 0.18230998106572896 rate: 0.03127876640132021 i: 1630 ha.loc[0,'a'] 7609\n",
      "list(a)[0]: 7609 time: 0.061171531677246094 lenp(ha): 0.18203949147957804 rate: 0.03125968816624774 i: 1631 ha.loc[0,'a'] 8636\n",
      "list(a)[0]: 8636 time: 0.05214667320251465 lenp(ha): 0.1817690018934271 rate: 0.031240609931175268 i: 1632 ha.loc[0,'a'] 3340\n",
      "list(a)[0]: 3340 time: 0.05164361000061035 lenp(ha): 0.18149851230727618 rate: 0.031221531696102794 i: 1633 ha.loc[0,'a'] 5957\n",
      "list(a)[0]: 5957 time: 0.04462289810180664 lenp(ha): 0.18122802272112523 rate: 0.03120245346103032 i: 1634 ha.loc[0,'a'] 7435\n",
      "list(a)[0]: 7435 time: 0.05013298988342285 lenp(ha): 0.1809575331349743 rate: 0.031183375225957845 i: 1635 ha.loc[0,'a'] 1322\n",
      "list(a)[0]: 1322 time: 0.07269668579101562 lenp(ha): 0.18068704354882337 rate: 0.031164296990885375 i: 1636 ha.loc[0,'a'] 5206\n",
      "list(a)[0]: 5206 time: 0.029078006744384766 lenp(ha): 0.18041655396267245 rate: 0.0311452187558129 i: 1637 ha.loc[0,'a'] 1749\n",
      "list(a)[0]: 1749 time: 0.030080080032348633 lenp(ha): 0.1801460643765215 rate: 0.031126140520740427 i: 1638 ha.loc[0,'a'] 4691\n",
      "list(a)[0]: 4691 time: 0.04161357879638672 lenp(ha): 0.17987557479037056 rate: 0.031107062285667952 i: 1639 ha.loc[0,'a'] 8336\n",
      "list(a)[0]: 8336 time: 0.03615856170654297 lenp(ha): 0.17960508520421964 rate: 0.031087984050595478 i: 1640 ha.loc[0,'a'] 3267\n",
      "list(a)[0]: 3267 time: 0.06922149658203125 lenp(ha): 0.1793345956180687 rate: 0.031068905815523008 i: 1641 ha.loc[0,'a'] 5281\n",
      "list(a)[0]: 5281 time: 0.03615570068359375 lenp(ha): 0.17906410603191777 rate: 0.031049827580450533 i: 1642 ha.loc[0,'a'] 4473\n",
      "list(a)[0]: 4473 time: 0.06323432922363281 lenp(ha): 0.17879361644576683 rate: 0.03103074934537806 i: 1643 ha.loc[0,'a'] 7986\n",
      "list(a)[0]: 7986 time: 0.055152177810668945 lenp(ha): 0.1785231268596159 rate: 0.031011671110305585 i: 1644 ha.loc[0,'a'] 4657\n",
      "list(a)[0]: 4657 time: 0.04615426063537598 lenp(ha): 0.17825263727346496 rate: 0.03099259287523311 i: 1645 ha.loc[0,'a'] 2672\n",
      "list(a)[0]: 2672 time: 0.05066347122192383 lenp(ha): 0.17798214768731405 rate: 0.03097351464016064 i: 1646 ha.loc[0,'a'] 943\n",
      "list(a)[0]: 943 time: 0.04213595390319824 lenp(ha): 0.1777116581011631 rate: 0.030954436405088166 i: 1647 ha.loc[0,'a'] 5207\n",
      "list(a)[0]: 5207 time: 0.033829689025878906 lenp(ha): 0.17744116851501218 rate: 0.030935358170015692 i: 1648 ha.loc[0,'a'] 6577\n",
      "list(a)[0]: 6577 time: 0.0526430606842041 lenp(ha): 0.17717067892886124 rate: 0.030921049493711338 i: 1649 ha.loc[0,'a'] 3862\n",
      "list(a)[0]: 3862 time: 0.05815768241882324 lenp(ha): 0.17690018934271032 rate: 0.030901971258638864 i: 1650 ha.loc[0,'a'] 8692\n",
      "list(a)[0]: 8692 time: 0.05614924430847168 lenp(ha): 0.17662969975655937 rate: 0.03088289302356639 i: 1651 ha.loc[0,'a'] 731\n",
      "list(a)[0]: 731 time: 0.052141666412353516 lenp(ha): 0.17635921017040843 rate: 0.030863814788493916 i: 1652 ha.loc[0,'a'] 6212\n",
      "list(a)[0]: 6212 time: 0.2497105598449707 lenp(ha): 0.17581823099810656 rate: 0.030754114936827195 i: 1653 ha.loc[0,'a'] 3312\n",
      "list(a)[0]: 3312 time: 0.04364323616027832 lenp(ha): 0.17554774141195564 rate: 0.03073503670175472 i: 1654 ha.loc[0,'a'] 7964\n",
      "list(a)[0]: 7964 time: 0.03710746765136719 lenp(ha): 0.1752772518258047 rate: 0.030715958466682246 i: 1655 ha.loc[0,'a'] 869\n",
      "list(a)[0]: 869 time: 0.0429079532623291 lenp(ha): 0.17500676223965378 rate: 0.030696880231609772 i: 1656 ha.loc[0,'a'] 6747\n",
      "list(a)[0]: 6747 time: 0.05114150047302246 lenp(ha): 0.17473627265350283 rate: 0.0306778019965373 i: 1657 ha.loc[0,'a'] 2257\n",
      "list(a)[0]: 2257 time: 0.05016589164733887 lenp(ha): 0.17446578306735191 rate: 0.030658723761464828 i: 1658 ha.loc[0,'a'] 1118\n",
      "list(a)[0]: 1118 time: 0.02910137176513672 lenp(ha): 0.17419529348120097 rate: 0.030639645526392353 i: 1659 ha.loc[0,'a'] 2679\n",
      "list(a)[0]: 2679 time: 0.031083345413208008 lenp(ha): 0.17392480389505005 rate: 0.03062056729131988 i: 1660 ha.loc[0,'a'] 7228\n",
      "list(a)[0]: 7228 time: 0.05722212791442871 lenp(ha): 0.1736543143088991 rate: 0.030601489056247405 i: 1661 ha.loc[0,'a'] 3537\n",
      "list(a)[0]: 3537 time: 0.03916144371032715 lenp(ha): 0.1733838247227482 rate: 0.030582410821174934 i: 1662 ha.loc[0,'a'] 4166\n",
      "list(a)[0]: 4166 time: 0.04713606834411621 lenp(ha): 0.17311333513659724 rate: 0.03056333258610246 i: 1663 ha.loc[0,'a'] 5937\n",
      "list(a)[0]: 5937 time: 0.044652700424194336 lenp(ha): 0.1728428455504463 rate: 0.030544254351029986 i: 1664 ha.loc[0,'a'] 2216\n",
      "list(a)[0]: 2216 time: 0.043672800064086914 lenp(ha): 0.17257235596429538 rate: 0.030525176115957512 i: 1665 ha.loc[0,'a'] 5848\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 5848 time: 0.039076805114746094 lenp(ha): 0.17230186637814443 rate: 0.030506097880885038 i: 1666 ha.loc[0,'a'] 2780\n",
      "list(a)[0]: 2780 time: 0.038101911544799805 lenp(ha): 0.1720313767919935 rate: 0.030487019645812567 i: 1667 ha.loc[0,'a'] 2844\n",
      "list(a)[0]: 2844 time: 0.04812479019165039 lenp(ha): 0.17176088720584257 rate: 0.030467941410740093 i: 1668 ha.loc[0,'a'] 3890\n",
      "list(a)[0]: 3890 time: 0.046254634857177734 lenp(ha): 0.17149039761969165 rate: 0.03044886317566762 i: 1669 ha.loc[0,'a'] 7195\n",
      "list(a)[0]: 7195 time: 0.05019330978393555 lenp(ha): 0.1712199080335407 rate: 0.030429784940595145 i: 1670 ha.loc[0,'a'] 8506\n",
      "list(a)[0]: 8506 time: 0.1543407440185547 lenp(ha): 0.17067892886123884 rate: 0.030372550235377726 i: 1671 ha.loc[0,'a'] 2358\n",
      "list(a)[0]: 2358 time: 0.05217552185058594 lenp(ha): 0.17040843927508792 rate: 0.030353472000305252 i: 1672 ha.loc[0,'a'] 7322\n",
      "list(a)[0]: 7322 time: 0.04412388801574707 lenp(ha): 0.17013794968893697 rate: 0.030334393765232778 i: 1673 ha.loc[0,'a'] 721\n",
      "list(a)[0]: 721 time: 0.05311870574951172 lenp(ha): 0.16986746010278606 rate: 0.030315315530160303 i: 1674 ha.loc[0,'a'] 3206\n",
      "list(a)[0]: 3206 time: 0.0431208610534668 lenp(ha): 0.1695969705166351 rate: 0.030296237295087833 i: 1675 ha.loc[0,'a'] 4087\n",
      "list(a)[0]: 4087 time: 0.034117698669433594 lenp(ha): 0.16932648093048416 rate: 0.03027715906001536 i: 1676 ha.loc[0,'a'] 1034\n",
      "list(a)[0]: 1034 time: 0.04408431053161621 lenp(ha): 0.16905599134433325 rate: 0.030258080824942885 i: 1677 ha.loc[0,'a'] 1486\n",
      "list(a)[0]: 1486 time: 0.04411649703979492 lenp(ha): 0.1687855017581823 rate: 0.03023900258987041 i: 1678 ha.loc[0,'a'] 7063\n",
      "list(a)[0]: 7063 time: 0.05314135551452637 lenp(ha): 0.16851501217203138 rate: 0.030224693913566057 i: 1679 ha.loc[0,'a'] 6339\n",
      "list(a)[0]: 6339 time: 0.04314470291137695 lenp(ha): 0.16824452258588043 rate: 0.030205615678493582 i: 1680 ha.loc[0,'a'] 7151\n",
      "list(a)[0]: 7151 time: 0.03012990951538086 lenp(ha): 0.16797403299972952 rate: 0.030186537443421108 i: 1681 ha.loc[0,'a'] 4986\n",
      "list(a)[0]: 4986 time: 0.051203250885009766 lenp(ha): 0.16770354341357857 rate: 0.030167459208348634 i: 1682 ha.loc[0,'a'] 7471\n",
      "list(a)[0]: 7471 time: 0.04420757293701172 lenp(ha): 0.16743305382742765 rate: 0.030148380973276163 i: 1683 ha.loc[0,'a'] 6477\n",
      "list(a)[0]: 6477 time: 0.054152488708496094 lenp(ha): 0.1671625642412767 rate: 0.03012930273820369 i: 1684 ha.loc[0,'a'] 3949\n",
      "list(a)[0]: 3949 time: 0.03609943389892578 lenp(ha): 0.1668920746551258 rate: 0.030110224503131215 i: 1685 ha.loc[0,'a'] 4361\n",
      "list(a)[0]: 4361 time: 0.044621944427490234 lenp(ha): 0.16662158506897484 rate: 0.03009114626805874 i: 1686 ha.loc[0,'a'] 1915\n",
      "list(a)[0]: 1915 time: 0.03709745407104492 lenp(ha): 0.16635109548282392 rate: 0.030072068032986267 i: 1687 ha.loc[0,'a'] 7311\n",
      "list(a)[0]: 7311 time: 0.03712630271911621 lenp(ha): 0.16608060589667298 rate: 0.030052989797913796 i: 1688 ha.loc[0,'a'] 5854\n",
      "list(a)[0]: 5854 time: 0.03510403633117676 lenp(ha): 0.16581011631052203 rate: 0.030033911562841322 i: 1689 ha.loc[0,'a'] 8359\n",
      "list(a)[0]: 8359 time: 0.16444993019104004 lenp(ha): 0.16526913713822017 rate: 0.029971907298855783 i: 1690 ha.loc[0,'a'] 6299\n",
      "list(a)[0]: 6299 time: 0.050160884857177734 lenp(ha): 0.16499864755206925 rate: 0.02995282906378331 i: 1691 ha.loc[0,'a'] 6630\n",
      "list(a)[0]: 6630 time: 0.03008413314819336 lenp(ha): 0.1647281579659183 rate: 0.029933750828710835 i: 1692 ha.loc[0,'a'] 6607\n",
      "list(a)[0]: 6607 time: 0.06013965606689453 lenp(ha): 0.16445766837976739 rate: 0.029914672593638364 i: 1693 ha.loc[0,'a'] 4664\n",
      "list(a)[0]: 4664 time: 0.054180145263671875 lenp(ha): 0.16418717879361644 rate: 0.02989559435856589 i: 1694 ha.loc[0,'a'] 3702\n",
      "list(a)[0]: 3702 time: 0.06119585037231445 lenp(ha): 0.16391668920746552 rate: 0.029876516123493416 i: 1695 ha.loc[0,'a'] 2005\n",
      "list(a)[0]: 2005 time: 0.053173065185546875 lenp(ha): 0.16364619962131458 rate: 0.02985743788842094 i: 1696 ha.loc[0,'a'] 8733\n",
      "list(a)[0]: 8733 time: 0.0541532039642334 lenp(ha): 0.16337571003516366 rate: 0.029838359653348467 i: 1697 ha.loc[0,'a'] 303\n",
      "list(a)[0]: 303 time: 0.04713082313537598 lenp(ha): 0.1631052204490127 rate: 0.029819281418275997 i: 1698 ha.loc[0,'a'] 5349\n",
      "list(a)[0]: 5349 time: 0.0531463623046875 lenp(ha): 0.1628347308628618 rate: 0.029800203183203523 i: 1699 ha.loc[0,'a'] 2989\n",
      "list(a)[0]: 2989 time: 0.051672935485839844 lenp(ha): 0.16256424127671085 rate: 0.02978112494813105 i: 1700 ha.loc[0,'a'] 2442\n",
      "list(a)[0]: 2442 time: 0.04514813423156738 lenp(ha): 0.1622937516905599 rate: 0.029762046713058574 i: 1701 ha.loc[0,'a'] 5960\n",
      "list(a)[0]: 5960 time: 0.041121482849121094 lenp(ha): 0.16202326210440898 rate: 0.0297429684779861 i: 1702 ha.loc[0,'a'] 7086\n",
      "list(a)[0]: 7086 time: 0.05210566520690918 lenp(ha): 0.16175277251825804 rate: 0.02972389024291363 i: 1703 ha.loc[0,'a'] 8620\n",
      "list(a)[0]: 8620 time: 0.0541684627532959 lenp(ha): 0.16148228293210712 rate: 0.029704812007841155 i: 1704 ha.loc[0,'a'] 1909\n",
      "list(a)[0]: 1909 time: 0.05712532997131348 lenp(ha): 0.16121179334595617 rate: 0.02968573377276868 i: 1705 ha.loc[0,'a'] 1534\n",
      "list(a)[0]: 1534 time: 0.045119524002075195 lenp(ha): 0.16094130375980525 rate: 0.029666655537696207 i: 1706 ha.loc[0,'a'] 1931\n",
      "list(a)[0]: 1931 time: 0.043143510818481445 lenp(ha): 0.1606708141736543 rate: 0.029647577302623733 i: 1707 ha.loc[0,'a'] 7259\n",
      "list(a)[0]: 7259 time: 0.05113482475280762 lenp(ha): 0.1604003245875034 rate: 0.029628499067551262 i: 1708 ha.loc[0,'a'] 3768\n",
      "list(a)[0]: 3768 time: 0.028319120407104492 lenp(ha): 0.16012983500135244 rate: 0.029609420832478788 i: 1709 ha.loc[0,'a'] 2368\n",
      "list(a)[0]: 2368 time: 0.046129465103149414 lenp(ha): 0.15985934541520153 rate: 0.029590342597406314 i: 1710 ha.loc[0,'a'] 3755\n",
      "list(a)[0]: 3755 time: 0.13640522956848145 lenp(ha): 0.15931836624289966 rate: 0.02954741656849325 i: 1711 ha.loc[0,'a'] 5513\n",
      "list(a)[0]: 5513 time: 0.0426177978515625 lenp(ha): 0.15904787665674872 rate: 0.029528338333420775 i: 1712 ha.loc[0,'a'] 3848\n",
      "list(a)[0]: 3848 time: 0.04411768913269043 lenp(ha): 0.15877738707059777 rate: 0.0295092600983483 i: 1713 ha.loc[0,'a'] 7576\n",
      "list(a)[0]: 7576 time: 0.06720685958862305 lenp(ha): 0.15850689748444685 rate: 0.02949018186327583 i: 1714 ha.loc[0,'a'] 1516\n",
      "list(a)[0]: 1516 time: 0.04963564872741699 lenp(ha): 0.1582364078982959 rate: 0.029471103628203356 i: 1715 ha.loc[0,'a'] 5586\n",
      "list(a)[0]: 5586 time: 0.06417202949523926 lenp(ha): 0.157965918312145 rate: 0.029452025393130882 i: 1716 ha.loc[0,'a'] 5878\n",
      "list(a)[0]: 5878 time: 0.05364680290222168 lenp(ha): 0.15769542872599404 rate: 0.02942817759929029 i: 1717 ha.loc[0,'a'] 4609\n",
      "list(a)[0]: 4609 time: 0.07326769828796387 lenp(ha): 0.15742493913984312 rate: 0.029404329805449696 i: 1718 ha.loc[0,'a'] 3343\n",
      "list(a)[0]: 3343 time: 0.06669402122497559 lenp(ha): 0.15715444955369218 rate: 0.029380482011609105 i: 1719 ha.loc[0,'a'] 7766\n",
      "list(a)[0]: 7766 time: 0.05666065216064453 lenp(ha): 0.15688395996754126 rate: 0.029356634217768515 i: 1720 ha.loc[0,'a'] 8784\n",
      "list(a)[0]: 8784 time: 0.0792238712310791 lenp(ha): 0.1566134703813903 rate: 0.029332786423927924 i: 1721 ha.loc[0,'a'] 3667\n",
      "list(a)[0]: 3667 time: 0.06415867805480957 lenp(ha): 0.1563429807952394 rate: 0.02930893863008733 i: 1722 ha.loc[0,'a'] 2331\n",
      "list(a)[0]: 2331 time: 0.06520414352416992 lenp(ha): 0.15607249120908845 rate: 0.029285090836246738 i: 1723 ha.loc[0,'a'] 5136\n",
      "list(a)[0]: 5136 time: 0.057144880294799805 lenp(ha): 0.15580200162293753 rate: 0.029261243042406147 i: 1724 ha.loc[0,'a'] 1040\n",
      "list(a)[0]: 1040 time: 0.07119107246398926 lenp(ha): 0.15553151203678658 rate: 0.029237395248565556 i: 1725 ha.loc[0,'a'] 5086\n",
      "list(a)[0]: 5086 time: 0.07631587982177734 lenp(ha): 0.15526102245063564 rate: 0.029213547454724962 i: 1726 ha.loc[0,'a'] 7275\n",
      "list(a)[0]: 7275 time: 0.04913496971130371 lenp(ha): 0.15499053286448472 rate: 0.02918969966088437 i: 1727 ha.loc[0,'a'] 5831\n",
      "list(a)[0]: 5831 time: 0.06818675994873047 lenp(ha): 0.15472004327833377 rate: 0.02916585186704378 i: 1728 ha.loc[0,'a'] 6528\n",
      "list(a)[0]: 6528 time: 0.0486295223236084 lenp(ha): 0.15444955369218286 rate: 0.02914200407320319 i: 1729 ha.loc[0,'a'] 5269\n",
      "list(a)[0]: 5269 time: 0.06417560577392578 lenp(ha): 0.1541790641060319 rate: 0.029118156279362595 i: 1730 ha.loc[0,'a'] 6152\n",
      "list(a)[0]: 6152 time: 0.06626629829406738 lenp(ha): 0.153908574519881 rate: 0.029094308485522004 i: 1731 ha.loc[0,'a'] 822\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 822 time: 0.0702204704284668 lenp(ha): 0.15363808493373005 rate: 0.029070460691681413 i: 1732 ha.loc[0,'a'] 5013\n",
      "list(a)[0]: 5013 time: 0.04913973808288574 lenp(ha): 0.15336759534757913 rate: 0.029046612897840822 i: 1733 ha.loc[0,'a'] 4360\n",
      "list(a)[0]: 4360 time: 0.06438183784484863 lenp(ha): 0.15309710576142818 rate: 0.029022765104000228 i: 1734 ha.loc[0,'a'] 4302\n",
      "list(a)[0]: 4302 time: 0.07438492774963379 lenp(ha): 0.15282661617527726 rate: 0.028998917310159637 i: 1735 ha.loc[0,'a'] 5855\n",
      "list(a)[0]: 5855 time: 0.07820892333984375 lenp(ha): 0.15255612658912632 rate: 0.028975069516319046 i: 1736 ha.loc[0,'a'] 8415\n",
      "list(a)[0]: 8415 time: 0.05918264389038086 lenp(ha): 0.1522856370029754 rate: 0.028951221722478455 i: 1737 ha.loc[0,'a'] 2007\n",
      "list(a)[0]: 2007 time: 0.049103498458862305 lenp(ha): 0.15201514741682445 rate: 0.02892737392863786 i: 1738 ha.loc[0,'a'] 3625\n",
      "list(a)[0]: 3625 time: 0.03712916374206543 lenp(ha): 0.1517446578306735 rate: 0.02890352613479727 i: 1739 ha.loc[0,'a'] 859\n",
      "list(a)[0]: 859 time: 0.057149648666381836 lenp(ha): 0.1514741682445226 rate: 0.02887967834095668 i: 1740 ha.loc[0,'a'] 3709\n",
      "list(a)[0]: 3709 time: 0.06467509269714355 lenp(ha): 0.15120367865837164 rate: 0.028855830547116088 i: 1741 ha.loc[0,'a'] 2087\n",
      "list(a)[0]: 2087 time: 0.06924605369567871 lenp(ha): 0.15093318907222072 rate: 0.028831982753275493 i: 1742 ha.loc[0,'a'] 994\n",
      "list(a)[0]: 994 time: 0.07122063636779785 lenp(ha): 0.15066269948606978 rate: 0.028808134959434902 i: 1743 ha.loc[0,'a'] 4225\n",
      "list(a)[0]: 4225 time: 0.055155038833618164 lenp(ha): 0.15039220989991886 rate: 0.02878428716559431 i: 1744 ha.loc[0,'a'] 3971\n",
      "list(a)[0]: 3971 time: 0.07232522964477539 lenp(ha): 0.15012172031376791 rate: 0.02876043937175372 i: 1745 ha.loc[0,'a'] 6378\n",
      "list(a)[0]: 6378 time: 0.06298708915710449 lenp(ha): 0.149851230727617 rate: 0.028736591577913126 i: 1746 ha.loc[0,'a'] 2123\n",
      "list(a)[0]: 2123 time: 0.06621837615966797 lenp(ha): 0.14958074114146605 rate: 0.028712743784072535 i: 1747 ha.loc[0,'a'] 7432\n",
      "list(a)[0]: 7432 time: 0.04111528396606445 lenp(ha): 0.14931025155531513 rate: 0.028688895990231944 i: 1748 ha.loc[0,'a'] 1998\n",
      "list(a)[0]: 1998 time: 0.12289929389953613 lenp(ha): 0.14876927238301324 rate: 0.028636430843782642 i: 1749 ha.loc[0,'a'] 2999\n",
      "list(a)[0]: 2999 time: 0.06319737434387207 lenp(ha): 0.14849878279686232 rate: 0.02861258304994205 i: 1750 ha.loc[0,'a'] 6285\n",
      "list(a)[0]: 6285 time: 0.040766000747680664 lenp(ha): 0.14822829321071138 rate: 0.028588735256101457 i: 1751 ha.loc[0,'a'] 792\n",
      "list(a)[0]: 792 time: 0.06524538993835449 lenp(ha): 0.14795780362456046 rate: 0.028564887462260866 i: 1752 ha.loc[0,'a'] 2648\n",
      "list(a)[0]: 2648 time: 0.06187582015991211 lenp(ha): 0.1476873140384095 rate: 0.028541039668420275 i: 1753 ha.loc[0,'a'] 266\n",
      "list(a)[0]: 266 time: 0.07219958305358887 lenp(ha): 0.1474168244522586 rate: 0.028517191874579684 i: 1754 ha.loc[0,'a'] 2792\n",
      "list(a)[0]: 2792 time: 0.06322884559631348 lenp(ha): 0.14714633486610765 rate: 0.02849334408073909 i: 1755 ha.loc[0,'a'] 5706\n",
      "list(a)[0]: 5706 time: 0.06417298316955566 lenp(ha): 0.14687584527995673 rate: 0.0284694962868985 i: 1756 ha.loc[0,'a'] 4322\n",
      "list(a)[0]: 4322 time: 0.04812216758728027 lenp(ha): 0.14660535569380578 rate: 0.028445648493057907 i: 1757 ha.loc[0,'a'] 4640\n",
      "list(a)[0]: 4640 time: 0.07273697853088379 lenp(ha): 0.14633486610765487 rate: 0.028421800699217317 i: 1758 ha.loc[0,'a'] 5004\n",
      "list(a)[0]: 5004 time: 0.054781436920166016 lenp(ha): 0.14606437652150392 rate: 0.028397952905376722 i: 1759 ha.loc[0,'a'] 7386\n",
      "list(a)[0]: 7386 time: 0.04113364219665527 lenp(ha): 0.145793886935353 rate: 0.02837410511153613 i: 1760 ha.loc[0,'a'] 6768\n",
      "list(a)[0]: 6768 time: 0.057181358337402344 lenp(ha): 0.14552339734920205 rate: 0.02835025731769554 i: 1761 ha.loc[0,'a'] 618\n",
      "list(a)[0]: 618 time: 0.03470444679260254 lenp(ha): 0.1452529077630511 rate: 0.02832640952385495 i: 1762 ha.loc[0,'a'] 6599\n",
      "list(a)[0]: 6599 time: 0.054169416427612305 lenp(ha): 0.1449824181769002 rate: 0.028302561730014355 i: 1763 ha.loc[0,'a'] 5505\n",
      "list(a)[0]: 5505 time: 0.06119537353515625 lenp(ha): 0.14471192859074924 rate: 0.028278713936173764 i: 1764 ha.loc[0,'a'] 4732\n",
      "list(a)[0]: 4732 time: 0.056182861328125 lenp(ha): 0.14444143900459833 rate: 0.028254866142333173 i: 1765 ha.loc[0,'a'] 6639\n",
      "list(a)[0]: 6639 time: 0.042177677154541016 lenp(ha): 0.14417094941844738 rate: 0.028231018348492582 i: 1766 ha.loc[0,'a'] 4138\n",
      "list(a)[0]: 4138 time: 0.04872465133666992 lenp(ha): 0.14390045983229646 rate: 0.028207170554651988 i: 1767 ha.loc[0,'a'] 7929\n",
      "list(a)[0]: 7929 time: 0.07794189453125 lenp(ha): 0.14362997024614552 rate: 0.028183322760811397 i: 1768 ha.loc[0,'a'] 6736\n",
      "list(a)[0]: 6736 time: 0.0331418514251709 lenp(ha): 0.1433594806599946 rate: 0.028159474966970806 i: 1769 ha.loc[0,'a'] 5430\n",
      "list(a)[0]: 5430 time: 0.16344881057739258 lenp(ha): 0.14281850148769273 rate: 0.028102240261753387 i: 1770 ha.loc[0,'a'] 2869\n",
      "list(a)[0]: 2869 time: 0.04168415069580078 lenp(ha): 0.1425480119015418 rate: 0.028078392467912792 i: 1771 ha.loc[0,'a'] 4381\n",
      "list(a)[0]: 4381 time: 0.05794858932495117 lenp(ha): 0.14227752231539087 rate: 0.0280545446740722 i: 1772 ha.loc[0,'a'] 2314\n",
      "list(a)[0]: 2314 time: 0.06973004341125488 lenp(ha): 0.14200703272923992 rate: 0.02803069688023161 i: 1773 ha.loc[0,'a'] 6615\n",
      "list(a)[0]: 6615 time: 0.05668950080871582 lenp(ha): 0.14173654314308898 rate: 0.02800684908639102 i: 1774 ha.loc[0,'a'] 3275\n",
      "list(a)[0]: 3275 time: 0.0883023738861084 lenp(ha): 0.14146605355693806 rate: 0.027983001292550425 i: 1775 ha.loc[0,'a'] 3882\n",
      "list(a)[0]: 3882 time: 0.06517219543457031 lenp(ha): 0.1411955639707871 rate: 0.027959153498709834 i: 1776 ha.loc[0,'a'] 764\n",
      "list(a)[0]: 764 time: 0.0682072639465332 lenp(ha): 0.1409250743846362 rate: 0.027935305704869243 i: 1777 ha.loc[0,'a'] 4673\n",
      "list(a)[0]: 4673 time: 0.05514812469482422 lenp(ha): 0.14065458479848525 rate: 0.027911457911028652 i: 1778 ha.loc[0,'a'] 1087\n",
      "list(a)[0]: 1087 time: 0.07373404502868652 lenp(ha): 0.14038409521233433 rate: 0.027887610117188058 i: 1779 ha.loc[0,'a'] 2598\n",
      "list(a)[0]: 2598 time: 0.06800365447998047 lenp(ha): 0.14011360562618339 rate: 0.027863762323347467 i: 1780 ha.loc[0,'a'] 4707\n",
      "list(a)[0]: 4707 time: 0.05578446388244629 lenp(ha): 0.13984311604003247 rate: 0.027839914529506876 i: 1781 ha.loc[0,'a'] 7939\n",
      "list(a)[0]: 7939 time: 0.056186676025390625 lenp(ha): 0.13957262645388152 rate: 0.027816066735666285 i: 1782 ha.loc[0,'a'] 5474\n",
      "list(a)[0]: 5474 time: 0.06386494636535645 lenp(ha): 0.1393021368677306 rate: 0.02779221894182569 i: 1783 ha.loc[0,'a'] 4600\n",
      "list(a)[0]: 4600 time: 0.06420516967773438 lenp(ha): 0.13903164728157966 rate: 0.0277683711479851 i: 1784 ha.loc[0,'a'] 2733\n",
      "list(a)[0]: 2733 time: 0.04810690879821777 lenp(ha): 0.13876115769542874 rate: 0.02774452335414451 i: 1785 ha.loc[0,'a'] 8149\n",
      "list(a)[0]: 8149 time: 0.024068355560302734 lenp(ha): 0.1384906681092778 rate: 0.027720675560303915 i: 1786 ha.loc[0,'a'] 4046\n",
      "list(a)[0]: 4046 time: 0.04214668273925781 lenp(ha): 0.13822017852312685 rate: 0.027696827766463324 i: 1787 ha.loc[0,'a'] 1672\n",
      "list(a)[0]: 1672 time: 0.07019639015197754 lenp(ha): 0.13794968893697593 rate: 0.027672979972622733 i: 1788 ha.loc[0,'a'] 8316\n",
      "list(a)[0]: 8316 time: 0.06672430038452148 lenp(ha): 0.13767919935082498 rate: 0.027649132178782142 i: 1789 ha.loc[0,'a'] 4694\n",
      "list(a)[0]: 4694 time: 0.06818246841430664 lenp(ha): 0.13740870976467406 rate: 0.027625284384941547 i: 1790 ha.loc[0,'a'] 6446\n",
      "list(a)[0]: 6446 time: 0.03709697723388672 lenp(ha): 0.13713822017852312 rate: 0.027601436591100956 i: 1791 ha.loc[0,'a'] 4644\n",
      "list(a)[0]: 4644 time: 0.05013537406921387 lenp(ha): 0.1368677305923722 rate: 0.027577588797260365 i: 1792 ha.loc[0,'a'] 3923\n",
      "list(a)[0]: 3923 time: 0.06201434135437012 lenp(ha): 0.13659724100622125 rate: 0.027553741003419775 i: 1793 ha.loc[0,'a'] 2381\n",
      "list(a)[0]: 2381 time: 0.05515027046203613 lenp(ha): 0.13632675142007034 rate: 0.02752989320957918 i: 1794 ha.loc[0,'a'] 1438\n",
      "list(a)[0]: 1438 time: 0.0730733871459961 lenp(ha): 0.1360562618339194 rate: 0.02750604541573859 i: 1795 ha.loc[0,'a'] 4342\n",
      "list(a)[0]: 4342 time: 0.057151079177856445 lenp(ha): 0.13578577224776847 rate: 0.027482197621897998 i: 1796 ha.loc[0,'a'] 1149\n",
      "list(a)[0]: 1149 time: 0.0421452522277832 lenp(ha): 0.13551528266161753 rate: 0.027458349828057407 i: 1797 ha.loc[0,'a'] 3245\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3245 time: 0.07423067092895508 lenp(ha): 0.1352447930754666 rate: 0.027434502034216813 i: 1798 ha.loc[0,'a'] 4034\n",
      "list(a)[0]: 4034 time: 0.06316804885864258 lenp(ha): 0.13497430348931566 rate: 0.027410654240376222 i: 1799 ha.loc[0,'a'] 5210\n",
      "list(a)[0]: 5210 time: 0.05611920356750488 lenp(ha): 0.13470381390316472 rate: 0.02738680644653563 i: 1800 ha.loc[0,'a'] 8640\n",
      "list(a)[0]: 8640 time: 0.05715131759643555 lenp(ha): 0.1344333243170138 rate: 0.02736295865269504 i: 1801 ha.loc[0,'a'] 3660\n",
      "list(a)[0]: 3660 time: 0.05614900588989258 lenp(ha): 0.13416283473086285 rate: 0.027339110858854446 i: 1802 ha.loc[0,'a'] 4542\n",
      "list(a)[0]: 4542 time: 0.06416988372802734 lenp(ha): 0.13389234514471193 rate: 0.027315263065013855 i: 1803 ha.loc[0,'a'] 7494\n",
      "list(a)[0]: 7494 time: 0.04912996292114258 lenp(ha): 0.133621855558561 rate: 0.027291415271173264 i: 1804 ha.loc[0,'a'] 2453\n",
      "list(a)[0]: 2453 time: 0.03509187698364258 lenp(ha): 0.13335136597241007 rate: 0.027267567477332673 i: 1805 ha.loc[0,'a'] 5253\n",
      "list(a)[0]: 5253 time: 0.06676483154296875 lenp(ha): 0.13308087638625912 rate: 0.02724371968349208 i: 1806 ha.loc[0,'a'] 4646\n",
      "list(a)[0]: 4646 time: 0.04712486267089844 lenp(ha): 0.1328103868001082 rate: 0.027219871889651488 i: 1807 ha.loc[0,'a'] 529\n",
      "list(a)[0]: 529 time: 0.03415489196777344 lenp(ha): 0.13253989721395726 rate: 0.027196024095810897 i: 1808 ha.loc[0,'a'] 7604\n",
      "list(a)[0]: 7604 time: 0.05615425109863281 lenp(ha): 0.13226940762780634 rate: 0.027172176301970306 i: 1809 ha.loc[0,'a'] 4434\n",
      "list(a)[0]: 4434 time: 0.06818819046020508 lenp(ha): 0.1319989180416554 rate: 0.02714832850812971 i: 1810 ha.loc[0,'a'] 560\n",
      "list(a)[0]: 560 time: 0.0626993179321289 lenp(ha): 0.13172842845550448 rate: 0.02712448071428912 i: 1811 ha.loc[0,'a'] 6761\n",
      "list(a)[0]: 6761 time: 0.07162117958068848 lenp(ha): 0.13145793886935353 rate: 0.02710063292044853 i: 1812 ha.loc[0,'a'] 210\n",
      "list(a)[0]: 210 time: 0.0561671257019043 lenp(ha): 0.13118744928320258 rate: 0.02707678512660794 i: 1813 ha.loc[0,'a'] 1581\n",
      "list(a)[0]: 1581 time: 0.045121192932128906 lenp(ha): 0.13091695969705167 rate: 0.027052937332767344 i: 1814 ha.loc[0,'a'] 1940\n",
      "list(a)[0]: 1940 time: 0.06520462036132812 lenp(ha): 0.13064647011090072 rate: 0.027029089538926753 i: 1815 ha.loc[0,'a'] 2313\n",
      "list(a)[0]: 2313 time: 0.0922551155090332 lenp(ha): 0.1303759805247498 rate: 0.027005241745086162 i: 1816 ha.loc[0,'a'] 8318\n",
      "list(a)[0]: 8318 time: 0.05417799949645996 lenp(ha): 0.13010549093859886 rate: 0.02698139395124557 i: 1817 ha.loc[0,'a'] 6695\n",
      "list(a)[0]: 6695 time: 0.06597328186035156 lenp(ha): 0.12983500135244794 rate: 0.026957546157404977 i: 1818 ha.loc[0,'a'] 5479\n",
      "list(a)[0]: 5479 time: 0.04309201240539551 lenp(ha): 0.129564511766297 rate: 0.026933698363564386 i: 1819 ha.loc[0,'a'] 7024\n",
      "list(a)[0]: 7024 time: 0.07520461082458496 lenp(ha): 0.12929402218014607 rate: 0.026909850569723795 i: 1820 ha.loc[0,'a'] 2688\n",
      "list(a)[0]: 2688 time: 0.06777429580688477 lenp(ha): 0.12902353259399513 rate: 0.026886002775883204 i: 1821 ha.loc[0,'a'] 2756\n",
      "list(a)[0]: 2756 time: 0.07019162178039551 lenp(ha): 0.1287530430078442 rate: 0.02686215498204261 i: 1822 ha.loc[0,'a'] 7142\n",
      "list(a)[0]: 7142 time: 0.05113935470581055 lenp(ha): 0.12848255342169326 rate: 0.02683830718820202 i: 1823 ha.loc[0,'a'] 5928\n",
      "list(a)[0]: 5928 time: 0.07422304153442383 lenp(ha): 0.12821206383554234 rate: 0.026814459394361428 i: 1824 ha.loc[0,'a'] 4283\n",
      "list(a)[0]: 4283 time: 0.03609514236450195 lenp(ha): 0.1279415742493914 rate: 0.026790611600520837 i: 1825 ha.loc[0,'a'] 799\n",
      "list(a)[0]: 799 time: 0.06570649147033691 lenp(ha): 0.12767108466324045 rate: 0.026766763806680242 i: 1826 ha.loc[0,'a'] 1380\n",
      "list(a)[0]: 1380 time: 0.03409147262573242 lenp(ha): 0.12740059507708953 rate: 0.02674291601283965 i: 1827 ha.loc[0,'a'] 4746\n",
      "list(a)[0]: 4746 time: 0.03309297561645508 lenp(ha): 0.1271301054909386 rate: 0.02671906821899906 i: 1828 ha.loc[0,'a'] 6694\n",
      "list(a)[0]: 6694 time: 0.05518031120300293 lenp(ha): 0.12685961590478767 rate: 0.02669522042515847 i: 1829 ha.loc[0,'a'] 3773\n",
      "list(a)[0]: 3773 time: 0.06518244743347168 lenp(ha): 0.12658912631863672 rate: 0.026671372631317875 i: 1830 ha.loc[0,'a'] 4096\n",
      "list(a)[0]: 4096 time: 0.06470322608947754 lenp(ha): 0.1263186367324858 rate: 0.026647524837477284 i: 1831 ha.loc[0,'a'] 2281\n",
      "list(a)[0]: 2281 time: 0.06517314910888672 lenp(ha): 0.12604814714633486 rate: 0.026623677043636693 i: 1832 ha.loc[0,'a'] 5966\n",
      "list(a)[0]: 5966 time: 0.07921719551086426 lenp(ha): 0.12577765756018394 rate: 0.026599829249796102 i: 1833 ha.loc[0,'a'] 834\n",
      "list(a)[0]: 834 time: 0.035091400146484375 lenp(ha): 0.125507167974033 rate: 0.026575981455955508 i: 1834 ha.loc[0,'a'] 4139\n",
      "list(a)[0]: 4139 time: 0.05213809013366699 lenp(ha): 0.12523667838788208 rate: 0.026552133662114917 i: 1835 ha.loc[0,'a'] 2945\n",
      "list(a)[0]: 2945 time: 0.05012798309326172 lenp(ha): 0.12496618880173113 rate: 0.026528285868274326 i: 1836 ha.loc[0,'a'] 4297\n",
      "list(a)[0]: 4297 time: 0.048236846923828125 lenp(ha): 0.1246956992155802 rate: 0.026504438074433735 i: 1837 ha.loc[0,'a'] 7571\n",
      "list(a)[0]: 7571 time: 0.07269668579101562 lenp(ha): 0.12442520962942927 rate: 0.02648059028059314 i: 1838 ha.loc[0,'a'] 1256\n",
      "list(a)[0]: 1256 time: 0.05815529823303223 lenp(ha): 0.12415472004327834 rate: 0.02645674248675255 i: 1839 ha.loc[0,'a'] 587\n",
      "list(a)[0]: 587 time: 0.06918215751647949 lenp(ha): 0.1238842304571274 rate: 0.02643289469291196 i: 1840 ha.loc[0,'a'] 3346\n",
      "list(a)[0]: 3346 time: 0.06617975234985352 lenp(ha): 0.12361374087097647 rate: 0.026409046899071368 i: 1841 ha.loc[0,'a'] 5343\n",
      "list(a)[0]: 5343 time: 0.050669193267822266 lenp(ha): 0.12334325128482554 rate: 0.026385199105230774 i: 1842 ha.loc[0,'a'] 7932\n",
      "list(a)[0]: 7932 time: 0.03509640693664551 lenp(ha): 0.12307276169867461 rate: 0.026361351311390183 i: 1843 ha.loc[0,'a'] 7009\n",
      "list(a)[0]: 7009 time: 0.06768012046813965 lenp(ha): 0.12280227211252366 rate: 0.02633273395878147 i: 1844 ha.loc[0,'a'] 4044\n",
      "list(a)[0]: 4044 time: 0.08550214767456055 lenp(ha): 0.12253178252637273 rate: 0.026304116606172764 i: 1845 ha.loc[0,'a'] 6763\n",
      "list(a)[0]: 6763 time: 0.07918643951416016 lenp(ha): 0.1222612929402218 rate: 0.026275499253564052 i: 1846 ha.loc[0,'a'] 8724\n",
      "list(a)[0]: 8724 time: 0.07018566131591797 lenp(ha): 0.12199080335407086 rate: 0.02624688190095534 i: 1847 ha.loc[0,'a'] 6459\n",
      "list(a)[0]: 6459 time: 0.07317543029785156 lenp(ha): 0.12172031376791993 rate: 0.026218264548346634 i: 1848 ha.loc[0,'a'] 7996\n",
      "list(a)[0]: 7996 time: 0.07629036903381348 lenp(ha): 0.121449824181769 rate: 0.026189647195737922 i: 1849 ha.loc[0,'a'] 6663\n",
      "list(a)[0]: 6663 time: 0.08422994613647461 lenp(ha): 0.12117933459561807 rate: 0.02616102984312921 i: 1850 ha.loc[0,'a'] 8027\n",
      "list(a)[0]: 8027 time: 0.053171634674072266 lenp(ha): 0.12090884500946714 rate: 0.026132412490520503 i: 1851 ha.loc[0,'a'] 3590\n",
      "list(a)[0]: 3590 time: 0.06019949913024902 lenp(ha): 0.1206383554233162 rate: 0.026103795137911792 i: 1852 ha.loc[0,'a'] 5080\n",
      "list(a)[0]: 5080 time: 0.09227919578552246 lenp(ha): 0.12036786583716527 rate: 0.02607517778530308 i: 1853 ha.loc[0,'a'] 5233\n",
      "list(a)[0]: 5233 time: 0.06963181495666504 lenp(ha): 0.12009737625101434 rate: 0.02604656043269437 i: 1854 ha.loc[0,'a'] 2885\n",
      "list(a)[0]: 2885 time: 0.24669265747070312 lenp(ha): 0.11955639707871248 rate: 0.02594163013979577 i: 1855 ha.loc[0,'a'] 2053\n",
      "list(a)[0]: 2053 time: 0.06364321708679199 lenp(ha): 0.11928590749256153 rate: 0.025913012787187058 i: 1856 ha.loc[0,'a'] 3168\n",
      "list(a)[0]: 3168 time: 0.06919169425964355 lenp(ha): 0.1190154179064106 rate: 0.025884395434578347 i: 1857 ha.loc[0,'a'] 8753\n",
      "list(a)[0]: 8753 time: 0.05984640121459961 lenp(ha): 0.11874492832025967 rate: 0.025855778081969635 i: 1858 ha.loc[0,'a'] 2104\n",
      "list(a)[0]: 2104 time: 0.06818366050720215 lenp(ha): 0.11847443873410873 rate: 0.025827160729360928 i: 1859 ha.loc[0,'a'] 2894\n",
      "list(a)[0]: 2894 time: 0.06116795539855957 lenp(ha): 0.1182039491479578 rate: 0.025798543376752216 i: 1860 ha.loc[0,'a'] 6802\n",
      "list(a)[0]: 6802 time: 0.06217050552368164 lenp(ha): 0.11793345956180687 rate: 0.025769926024143505 i: 1861 ha.loc[0,'a'] 2219\n",
      "list(a)[0]: 2219 time: 0.14647483825683594 lenp(ha): 0.117392480389505 rate: 0.02570315220138985 i: 1862 ha.loc[0,'a'] 3094\n",
      "list(a)[0]: 3094 time: 0.06819367408752441 lenp(ha): 0.11712199080335407 rate: 0.025674534848781138 i: 1863 ha.loc[0,'a'] 3337\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3337 time: 0.08573174476623535 lenp(ha): 0.11685150121720314 rate: 0.02564591749617243 i: 1864 ha.loc[0,'a'] 6175\n",
      "list(a)[0]: 6175 time: 0.05213212966918945 lenp(ha): 0.11658101163105221 rate: 0.02561730014356372 i: 1865 ha.loc[0,'a'] 547\n",
      "list(a)[0]: 547 time: 0.0882420539855957 lenp(ha): 0.11631052204490128 rate: 0.025588682790955008 i: 1866 ha.loc[0,'a'] 5549\n",
      "list(a)[0]: 5549 time: 0.06073355674743652 lenp(ha): 0.11604003245875034 rate: 0.0255600654383463 i: 1867 ha.loc[0,'a'] 2956\n",
      "list(a)[0]: 2956 time: 0.04916810989379883 lenp(ha): 0.1157695428725994 rate: 0.02553144808573759 i: 1868 ha.loc[0,'a'] 7852\n",
      "list(a)[0]: 7852 time: 0.08621668815612793 lenp(ha): 0.11549905328644847 rate: 0.025502830733128878 i: 1869 ha.loc[0,'a'] 5824\n",
      "list(a)[0]: 5824 time: 0.0601651668548584 lenp(ha): 0.11522856370029753 rate: 0.025474213380520166 i: 1870 ha.loc[0,'a'] 2701\n",
      "list(a)[0]: 2701 time: 0.07921791076660156 lenp(ha): 0.1149580741141466 rate: 0.02544559602791146 i: 1871 ha.loc[0,'a'] 8010\n",
      "list(a)[0]: 8010 time: 0.06817936897277832 lenp(ha): 0.11468758452799567 rate: 0.025416978675302748 i: 1872 ha.loc[0,'a'] 7016\n",
      "list(a)[0]: 7016 time: 0.043114423751831055 lenp(ha): 0.11441709494184474 rate: 0.025388361322694036 i: 1873 ha.loc[0,'a'] 4638\n",
      "list(a)[0]: 4638 time: 0.07423114776611328 lenp(ha): 0.1141466053556938 rate: 0.02535974397008533 i: 1874 ha.loc[0,'a'] 4026\n",
      "list(a)[0]: 4026 time: 0.1775674819946289 lenp(ha): 0.11360562618339194 rate: 0.025302509264867906 i: 1875 ha.loc[0,'a'] 4470\n",
      "list(a)[0]: 4470 time: 0.07623624801635742 lenp(ha): 0.11333513659724101 rate: 0.0252738919122592 i: 1876 ha.loc[0,'a'] 5596\n",
      "list(a)[0]: 5596 time: 0.0672156810760498 lenp(ha): 0.11306464701109008 rate: 0.025245274559650487 i: 1877 ha.loc[0,'a'] 7849\n",
      "list(a)[0]: 7849 time: 0.2976980209350586 lenp(ha): 0.11225317825263727 rate: 0.025135574707983763 i: 1878 ha.loc[0,'a'] 7748\n",
      "list(a)[0]: 7748 time: 0.06272125244140625 lenp(ha): 0.11198268866648634 rate: 0.025106957355375055 i: 1879 ha.loc[0,'a'] 5760\n",
      "list(a)[0]: 5760 time: 0.05464649200439453 lenp(ha): 0.1117121990803354 rate: 0.025078340002766344 i: 1880 ha.loc[0,'a'] 4784\n",
      "list(a)[0]: 4784 time: 0.07823801040649414 lenp(ha): 0.11144170949418447 rate: 0.025049722650157633 i: 1881 ha.loc[0,'a'] 8069\n",
      "list(a)[0]: 8069 time: 0.12489461898803711 lenp(ha): 0.1109007303218826 rate: 0.024992487944940214 i: 1882 ha.loc[0,'a'] 6265\n",
      "list(a)[0]: 6265 time: 0.07426619529724121 lenp(ha): 0.11063024073573167 rate: 0.024963870592331502 i: 1883 ha.loc[0,'a'] 4117\n",
      "list(a)[0]: 4117 time: 0.08425545692443848 lenp(ha): 0.11035975114958074 rate: 0.024935253239722795 i: 1884 ha.loc[0,'a'] 3257\n",
      "list(a)[0]: 3257 time: 0.06922030448913574 lenp(ha): 0.11008926156342981 rate: 0.024906635887114083 i: 1885 ha.loc[0,'a'] 4113\n",
      "list(a)[0]: 4113 time: 0.07674026489257812 lenp(ha): 0.10981877197727888 rate: 0.024878018534505372 i: 1886 ha.loc[0,'a'] 5338\n",
      "list(a)[0]: 5338 time: 0.07118892669677734 lenp(ha): 0.10954828239112795 rate: 0.02484940118189666 i: 1887 ha.loc[0,'a'] 1597\n",
      "list(a)[0]: 1597 time: 0.06618261337280273 lenp(ha): 0.10927779280497701 rate: 0.024820783829287953 i: 1888 ha.loc[0,'a'] 5042\n",
      "list(a)[0]: 5042 time: 0.04662632942199707 lenp(ha): 0.10900730321882608 rate: 0.024792166476679242 i: 1889 ha.loc[0,'a'] 8473\n",
      "list(a)[0]: 8473 time: 0.06618428230285645 lenp(ha): 0.10873681363267514 rate: 0.02476354912407053 i: 1890 ha.loc[0,'a'] 1091\n",
      "list(a)[0]: 1091 time: 0.04773759841918945 lenp(ha): 0.1084663240465242 rate: 0.024734931771461823 i: 1891 ha.loc[0,'a'] 3717\n",
      "list(a)[0]: 3717 time: 0.04762911796569824 lenp(ha): 0.10819583446037327 rate: 0.024706314418853112 i: 1892 ha.loc[0,'a'] 5463\n",
      "list(a)[0]: 5463 time: 0.08472657203674316 lenp(ha): 0.10792534487422234 rate: 0.0246776970662444 i: 1893 ha.loc[0,'a'] 3954\n",
      "list(a)[0]: 3954 time: 0.054173946380615234 lenp(ha): 0.10765485528807141 rate: 0.024649079713635693 i: 1894 ha.loc[0,'a'] 1693\n",
      "list(a)[0]: 1693 time: 0.05314207077026367 lenp(ha): 0.10738436570192048 rate: 0.024620462361026982 i: 1895 ha.loc[0,'a'] 1849\n",
      "list(a)[0]: 1849 time: 0.07222890853881836 lenp(ha): 0.10711387611576954 rate: 0.02459184500841827 i: 1896 ha.loc[0,'a'] 3104\n",
      "list(a)[0]: 3104 time: 0.053719520568847656 lenp(ha): 0.10684338652961861 rate: 0.02456322765580956 i: 1897 ha.loc[0,'a'] 2389\n",
      "list(a)[0]: 2389 time: 0.0631718635559082 lenp(ha): 0.10657289694346768 rate: 0.02453461030320085 i: 1898 ha.loc[0,'a'] 1491\n",
      "list(a)[0]: 1491 time: 0.08025050163269043 lenp(ha): 0.10630240735731675 rate: 0.02450599295059214 i: 1899 ha.loc[0,'a'] 989\n",
      "list(a)[0]: 989 time: 0.08786845207214355 lenp(ha): 0.10603191777116582 rate: 0.02447737559798343 i: 1900 ha.loc[0,'a'] 165\n",
      "list(a)[0]: 165 time: 0.0742037296295166 lenp(ha): 0.10576142818501488 rate: 0.02444875824537472 i: 1901 ha.loc[0,'a'] 159\n",
      "list(a)[0]: 159 time: 0.08428359031677246 lenp(ha): 0.10549093859886394 rate: 0.02442014089276601 i: 1902 ha.loc[0,'a'] 840\n",
      "list(a)[0]: 840 time: 0.08724069595336914 lenp(ha): 0.105220449012713 rate: 0.0243915235401573 i: 1903 ha.loc[0,'a'] 372\n",
      "list(a)[0]: 372 time: 0.05715608596801758 lenp(ha): 0.10494995942656207 rate: 0.02436290618754859 i: 1904 ha.loc[0,'a'] 3554\n",
      "list(a)[0]: 3554 time: 0.057150840759277344 lenp(ha): 0.10467946984041114 rate: 0.02433428883493988 i: 1905 ha.loc[0,'a'] 6280\n",
      "list(a)[0]: 6280 time: 0.07971692085266113 lenp(ha): 0.10440898025426021 rate: 0.02430567148233117 i: 1906 ha.loc[0,'a'] 7684\n",
      "list(a)[0]: 7684 time: 0.08623290061950684 lenp(ha): 0.10413849066810928 rate: 0.024277054129722458 i: 1907 ha.loc[0,'a'] 5977\n",
      "list(a)[0]: 5977 time: 0.06818366050720215 lenp(ha): 0.10386800108195834 rate: 0.02424843677711375 i: 1908 ha.loc[0,'a'] 1604\n",
      "list(a)[0]: 1604 time: 0.08326172828674316 lenp(ha): 0.10359751149580741 rate: 0.02421981942450504 i: 1909 ha.loc[0,'a'] 5677\n",
      "list(a)[0]: 5677 time: 0.0880422592163086 lenp(ha): 0.10332702190965648 rate: 0.024191202071896328 i: 1910 ha.loc[0,'a'] 2264\n",
      "list(a)[0]: 2264 time: 0.07142877578735352 lenp(ha): 0.10305653232350555 rate: 0.02416258471928762 i: 1911 ha.loc[0,'a'] 5543\n",
      "list(a)[0]: 5543 time: 0.06183433532714844 lenp(ha): 0.10278604273735462 rate: 0.02413396736667891 i: 1912 ha.loc[0,'a'] 6327\n",
      "list(a)[0]: 6327 time: 0.05019378662109375 lenp(ha): 0.10251555315120368 rate: 0.024105350014070197 i: 1913 ha.loc[0,'a'] 3146\n",
      "list(a)[0]: 3146 time: 0.08282113075256348 lenp(ha): 0.10224506356505275 rate: 0.02407673266146149 i: 1914 ha.loc[0,'a'] 1898\n",
      "list(a)[0]: 1898 time: 0.04010891914367676 lenp(ha): 0.1019745739789018 rate: 0.02404811530885278 i: 1915 ha.loc[0,'a'] 1025\n",
      "list(a)[0]: 1025 time: 0.16846537590026855 lenp(ha): 0.10143359480659994 rate: 0.02398611104486724 i: 1916 ha.loc[0,'a'] 883\n",
      "list(a)[0]: 883 time: 0.0972592830657959 lenp(ha): 0.10116310522044901 rate: 0.023957493692258528 i: 1917 ha.loc[0,'a'] 3665\n",
      "list(a)[0]: 3665 time: 0.06367158889770508 lenp(ha): 0.10089261563429808 rate: 0.02392887633964982 i: 1918 ha.loc[0,'a'] 3130\n",
      "list(a)[0]: 3130 time: 0.18907952308654785 lenp(ha): 0.10035163646199621 rate: 0.02386210251689616 i: 1919 ha.loc[0,'a'] 2726\n",
      "list(a)[0]: 2726 time: 0.05816149711608887 lenp(ha): 0.10008114687584528 rate: 0.023833485164287453 i: 1920 ha.loc[0,'a'] 809\n",
      "list(a)[0]: 809 time: 0.05798077583312988 lenp(ha): 0.09981065728969435 rate: 0.023804867811678742 i: 1921 ha.loc[0,'a'] 1620\n",
      "list(a)[0]: 1620 time: 0.050273895263671875 lenp(ha): 0.09954016770354342 rate: 0.02377625045907003 i: 1922 ha.loc[0,'a'] 8263\n",
      "list(a)[0]: 8263 time: 0.06618118286132812 lenp(ha): 0.09926967811739248 rate: 0.02374763310646132 i: 1923 ha.loc[0,'a'] 5520\n",
      "list(a)[0]: 5520 time: 0.1484081745147705 lenp(ha): 0.09872869894509062 rate: 0.023685628842475784 i: 1924 ha.loc[0,'a'] 6597\n",
      "list(a)[0]: 6597 time: 0.05886983871459961 lenp(ha): 0.09845820935893967 rate: 0.023657011489867073 i: 1925 ha.loc[0,'a'] 5971\n",
      "list(a)[0]: 5971 time: 0.07776117324829102 lenp(ha): 0.09818771977278874 rate: 0.02362839413725836 i: 1926 ha.loc[0,'a'] 2269\n",
      "list(a)[0]: 2269 time: 0.06720757484436035 lenp(ha): 0.09791723018663781 rate: 0.023599776784649654 i: 1927 ha.loc[0,'a'] 4258\n",
      "list(a)[0]: 4258 time: 0.06673645973205566 lenp(ha): 0.09764674060048688 rate: 0.023571159432040942 i: 1928 ha.loc[0,'a'] 8558\n",
      "list(a)[0]: 8558 time: 0.06517720222473145 lenp(ha): 0.09737625101433595 rate: 0.02354254207943223 i: 1929 ha.loc[0,'a'] 4451\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 4451 time: 0.07761144638061523 lenp(ha): 0.09710576142818501 rate: 0.02351392472682352 i: 1930 ha.loc[0,'a'] 7579\n",
      "list(a)[0]: 7579 time: 0.08726906776428223 lenp(ha): 0.09683527184203408 rate: 0.023485307374214812 i: 1931 ha.loc[0,'a'] 4252\n",
      "list(a)[0]: 4252 time: 0.052642107009887695 lenp(ha): 0.09656478225588315 rate: 0.0234566900216061 i: 1932 ha.loc[0,'a'] 1541\n",
      "list(a)[0]: 1541 time: 0.07621073722839355 lenp(ha): 0.09629429266973222 rate: 0.02342807266899739 i: 1933 ha.loc[0,'a'] 4967\n",
      "list(a)[0]: 4967 time: 0.04509425163269043 lenp(ha): 0.09602380308358129 rate: 0.023399455316388682 i: 1934 ha.loc[0,'a'] 4338\n",
      "list(a)[0]: 4338 time: 0.09130597114562988 lenp(ha): 0.09575331349743035 rate: 0.02337083796377997 i: 1935 ha.loc[0,'a'] 729\n",
      "list(a)[0]: 729 time: 0.05216574668884277 lenp(ha): 0.09548282391127942 rate: 0.02334222061117126 i: 1936 ha.loc[0,'a'] 664\n",
      "list(a)[0]: 664 time: 0.08888840675354004 lenp(ha): 0.09521233432512849 rate: 0.023313603258562552 i: 1937 ha.loc[0,'a'] 7646\n",
      "list(a)[0]: 7646 time: 0.06084609031677246 lenp(ha): 0.09494184473897754 rate: 0.02328498590595384 i: 1938 ha.loc[0,'a'] 2234\n",
      "list(a)[0]: 2234 time: 0.04913139343261719 lenp(ha): 0.09467135515282661 rate: 0.02325636855334513 i: 1939 ha.loc[0,'a'] 2673\n",
      "list(a)[0]: 2673 time: 0.07977724075317383 lenp(ha): 0.09440086556667568 rate: 0.0232229816419683 i: 1940 ha.loc[0,'a'] 8502\n",
      "list(a)[0]: 8502 time: 0.05865669250488281 lenp(ha): 0.09413037598052475 rate: 0.023189594730591474 i: 1941 ha.loc[0,'a'] 1852\n",
      "list(a)[0]: 1852 time: 0.04261183738708496 lenp(ha): 0.09385988639437381 rate: 0.023156207819214646 i: 1942 ha.loc[0,'a'] 1155\n",
      "list(a)[0]: 1155 time: 0.0987703800201416 lenp(ha): 0.09358939680822288 rate: 0.023122820907837818 i: 1943 ha.loc[0,'a'] 5867\n",
      "list(a)[0]: 5867 time: 0.08025026321411133 lenp(ha): 0.09331890722207195 rate: 0.023094203555229106 i: 1944 ha.loc[0,'a'] 496\n",
      "list(a)[0]: 496 time: 0.05116558074951172 lenp(ha): 0.09304841763592102 rate: 0.02306081664385228 i: 1945 ha.loc[0,'a'] 4972\n",
      "list(a)[0]: 4972 time: 0.07490777969360352 lenp(ha): 0.09277792804977009 rate: 0.02302742973247545 i: 1946 ha.loc[0,'a'] 6777\n",
      "list(a)[0]: 6777 time: 0.08624005317687988 lenp(ha): 0.09250743846361915 rate: 0.02299404282109862 i: 1947 ha.loc[0,'a'] 87\n",
      "list(a)[0]: 87 time: 0.08419632911682129 lenp(ha): 0.09223694887746822 rate: 0.02296065590972179 i: 1948 ha.loc[0,'a'] 8661\n",
      "list(a)[0]: 8661 time: 0.05213809013366699 lenp(ha): 0.09196645929131729 rate: 0.022927268998344963 i: 1949 ha.loc[0,'a'] 7448\n",
      "list(a)[0]: 7448 time: 0.0849461555480957 lenp(ha): 0.09169596970516636 rate: 0.022893882086968135 i: 1950 ha.loc[0,'a'] 1240\n",
      "list(a)[0]: 1240 time: 0.09024667739868164 lenp(ha): 0.09142548011901541 rate: 0.022860495175591307 i: 1951 ha.loc[0,'a'] 3616\n",
      "list(a)[0]: 3616 time: 0.08776140213012695 lenp(ha): 0.09115499053286448 rate: 0.02282710826421448 i: 1952 ha.loc[0,'a'] 2093\n",
      "list(a)[0]: 2093 time: 0.0952751636505127 lenp(ha): 0.09088450094671355 rate: 0.022793721352837647 i: 1953 ha.loc[0,'a'] 8375\n",
      "list(a)[0]: 8375 time: 0.07222390174865723 lenp(ha): 0.09061401136056262 rate: 0.02276033444146082 i: 1954 ha.loc[0,'a'] 7678\n",
      "list(a)[0]: 7678 time: 0.07121992111206055 lenp(ha): 0.09034352177441168 rate: 0.02272694753008399 i: 1955 ha.loc[0,'a'] 4677\n",
      "list(a)[0]: 4677 time: 0.08124899864196777 lenp(ha): 0.09007303218826075 rate: 0.022693560618707163 i: 1956 ha.loc[0,'a'] 6553\n",
      "list(a)[0]: 6553 time: 0.05714988708496094 lenp(ha): 0.08980254260210982 rate: 0.022660173707330335 i: 1957 ha.loc[0,'a'] 211\n",
      "list(a)[0]: 211 time: 0.08626246452331543 lenp(ha): 0.08953205301595889 rate: 0.022626786795953507 i: 1958 ha.loc[0,'a'] 4171\n",
      "list(a)[0]: 4171 time: 0.05127882957458496 lenp(ha): 0.08926156342980796 rate: 0.02259339988457668 i: 1959 ha.loc[0,'a'] 4674\n",
      "list(a)[0]: 4674 time: 0.071197509765625 lenp(ha): 0.08899107384365702 rate: 0.022560012973199848 i: 1960 ha.loc[0,'a'] 4257\n",
      "list(a)[0]: 4257 time: 0.3605945110321045 lenp(ha): 0.08845009467135516 rate: 0.022345382828634523 i: 1961 ha.loc[0,'a'] 355\n",
      "list(a)[0]: 355 time: 0.0817718505859375 lenp(ha): 0.08817960508520421 rate: 0.022311995917257695 i: 1962 ha.loc[0,'a'] 1390\n",
      "list(a)[0]: 1390 time: 0.03708314895629883 lenp(ha): 0.08790911549905328 rate: 0.022278609005880867 i: 1963 ha.loc[0,'a'] 1083\n",
      "list(a)[0]: 1083 time: 0.08025336265563965 lenp(ha): 0.08763862591290235 rate: 0.02224522209450404 i: 1964 ha.loc[0,'a'] 6340\n",
      "list(a)[0]: 6340 time: 0.07119154930114746 lenp(ha): 0.08736813632675142 rate: 0.02221183518312721 i: 1965 ha.loc[0,'a'] 5195\n",
      "list(a)[0]: 5195 time: 0.080718994140625 lenp(ha): 0.08709764674060048 rate: 0.02217844827175038 i: 1966 ha.loc[0,'a'] 6380\n",
      "list(a)[0]: 6380 time: 0.08715271949768066 lenp(ha): 0.08682715715444955 rate: 0.02214506136037355 i: 1967 ha.loc[0,'a'] 1654\n",
      "list(a)[0]: 1654 time: 0.06618309020996094 lenp(ha): 0.08655666756829862 rate: 0.022111674448996723 i: 1968 ha.loc[0,'a'] 1215\n",
      "list(a)[0]: 1215 time: 0.09934020042419434 lenp(ha): 0.08628617798214769 rate: 0.022078287537619895 i: 1969 ha.loc[0,'a'] 1655\n",
      "list(a)[0]: 1655 time: 0.08879971504211426 lenp(ha): 0.08601568839599676 rate: 0.022044900626243067 i: 1970 ha.loc[0,'a'] 7927\n",
      "list(a)[0]: 7927 time: 0.07425451278686523 lenp(ha): 0.08574519880984582 rate: 0.02201151371486624 i: 1971 ha.loc[0,'a'] 7099\n",
      "list(a)[0]: 7099 time: 0.06421113014221191 lenp(ha): 0.08547470922369489 rate: 0.021978126803489408 i: 1972 ha.loc[0,'a'] 6386\n",
      "list(a)[0]: 6386 time: 0.1022787094116211 lenp(ha): 0.08520421963754396 rate: 0.02194473989211258 i: 1973 ha.loc[0,'a'] 6740\n",
      "list(a)[0]: 6740 time: 0.07820320129394531 lenp(ha): 0.08493373005139303 rate: 0.02191135298073575 i: 1974 ha.loc[0,'a'] 5701\n",
      "list(a)[0]: 5701 time: 0.09028434753417969 lenp(ha): 0.08466324046524208 rate: 0.021877966069358924 i: 1975 ha.loc[0,'a'] 648\n",
      "list(a)[0]: 648 time: 0.05266714096069336 lenp(ha): 0.08439275087909115 rate: 0.021844579157982096 i: 1976 ha.loc[0,'a'] 2309\n",
      "list(a)[0]: 2309 time: 0.05812573432922363 lenp(ha): 0.08412226129294022 rate: 0.021811192246605268 i: 1977 ha.loc[0,'a'] 7204\n",
      "list(a)[0]: 7204 time: 0.09525680541992188 lenp(ha): 0.08385177170678929 rate: 0.02177780533522844 i: 1978 ha.loc[0,'a'] 4645\n",
      "list(a)[0]: 4645 time: 0.06768274307250977 lenp(ha): 0.08358128212063835 rate: 0.021744418423851608 i: 1979 ha.loc[0,'a'] 1481\n",
      "list(a)[0]: 1481 time: 0.0596923828125 lenp(ha): 0.08331079253448742 rate: 0.02171103151247478 i: 1980 ha.loc[0,'a'] 1968\n",
      "list(a)[0]: 1968 time: 0.07623434066772461 lenp(ha): 0.08304030294833649 rate: 0.021677644601097952 i: 1981 ha.loc[0,'a'] 2815\n",
      "list(a)[0]: 2815 time: 0.06116628646850586 lenp(ha): 0.08276981336218556 rate: 0.021644257689721124 i: 1982 ha.loc[0,'a'] 8517\n",
      "list(a)[0]: 8517 time: 0.09231114387512207 lenp(ha): 0.08249932377603462 rate: 0.021610870778344296 i: 1983 ha.loc[0,'a'] 255\n",
      "list(a)[0]: 255 time: 0.09114789962768555 lenp(ha): 0.08222883418988369 rate: 0.021577483866967468 i: 1984 ha.loc[0,'a'] 8098\n",
      "list(a)[0]: 8098 time: 0.08423018455505371 lenp(ha): 0.08195834460373276 rate: 0.02154409695559064 i: 1985 ha.loc[0,'a'] 4100\n",
      "list(a)[0]: 4100 time: 0.07821917533874512 lenp(ha): 0.08168785501758183 rate: 0.02151071004421381 i: 1986 ha.loc[0,'a'] 2322\n",
      "list(a)[0]: 2322 time: 0.08121585845947266 lenp(ha): 0.0814173654314309 rate: 0.02147732313283698 i: 1987 ha.loc[0,'a'] 8545\n",
      "list(a)[0]: 8545 time: 0.07921266555786133 lenp(ha): 0.08114687584527995 rate: 0.021443936221460153 i: 1988 ha.loc[0,'a'] 6530\n",
      "list(a)[0]: 6530 time: 0.11932611465454102 lenp(ha): 0.08087638625912902 rate: 0.021410549310083325 i: 1989 ha.loc[0,'a'] 6277\n",
      "list(a)[0]: 6277 time: 0.07420134544372559 lenp(ha): 0.08060589667297809 rate: 0.021377162398706497 i: 1990 ha.loc[0,'a'] 7147\n",
      "list(a)[0]: 7147 time: 0.06969213485717773 lenp(ha): 0.08033540708682715 rate: 0.02134377548732967 i: 1991 ha.loc[0,'a'] 5788\n",
      "list(a)[0]: 5788 time: 0.0922553539276123 lenp(ha): 0.08006491750067622 rate: 0.021310388575952837 i: 1992 ha.loc[0,'a'] 5769\n",
      "list(a)[0]: 5769 time: 0.08025813102722168 lenp(ha): 0.07979442791452529 rate: 0.02127700166457601 i: 1993 ha.loc[0,'a'] 6987\n",
      "list(a)[0]: 6987 time: 0.08478522300720215 lenp(ha): 0.07952393832837436 rate: 0.02124361475319918 i: 1994 ha.loc[0,'a'] 1570\n",
      "list(a)[0]: 1570 time: 0.07065987586975098 lenp(ha): 0.07925344874222343 rate: 0.021210227841822353 i: 1995 ha.loc[0,'a'] 343\n",
      "list(a)[0]: 343 time: 0.06718873977661133 lenp(ha): 0.0789829591560725 rate: 0.021176840930445525 i: 1996 ha.loc[0,'a'] 3874\n",
      "list(a)[0]: 3874 time: 0.09726691246032715 lenp(ha): 0.07871246956992156 rate: 0.021143454019068697 i: 1997 ha.loc[0,'a'] 7979\n",
      "list(a)[0]: 7979 time: 0.09606432914733887 lenp(ha): 0.07844197998377063 rate: 0.02111006710769187 i: 1998 ha.loc[0,'a'] 5172\n",
      "list(a)[0]: 5172 time: 0.10133600234985352 lenp(ha): 0.0781714903976197 rate: 0.021076680196315038 i: 1999 ha.loc[0,'a'] 6892\n",
      "list(a)[0]: 6892 time: 0.05013847351074219 lenp(ha): 0.07790100081146877 rate: 0.02104329328493821 i: 2000 ha.loc[0,'a'] 3594\n",
      "list(a)[0]: 3594 time: 0.057153940200805664 lenp(ha): 0.07763051122531782 rate: 0.02100990637356138 i: 2001 ha.loc[0,'a'] 3322\n",
      "list(a)[0]: 3322 time: 0.050637006759643555 lenp(ha): 0.07736002163916689 rate: 0.020976519462184554 i: 2002 ha.loc[0,'a'] 5566\n",
      "list(a)[0]: 5566 time: 0.04515480995178223 lenp(ha): 0.07708953205301596 rate: 0.020943132550807726 i: 2003 ha.loc[0,'a'] 8546\n",
      "list(a)[0]: 8546 time: 0.07580852508544922 lenp(ha): 0.07681904246686502 rate: 0.020904976080662777 i: 2004 ha.loc[0,'a'] 1767\n",
      "list(a)[0]: 1767 time: 0.0837259292602539 lenp(ha): 0.07654855288071409 rate: 0.020866819610517832 i: 2005 ha.loc[0,'a'] 4489\n",
      "list(a)[0]: 4489 time: 0.09425592422485352 lenp(ha): 0.07627806329456316 rate: 0.020828663140372884 i: 2006 ha.loc[0,'a'] 7052\n",
      "list(a)[0]: 7052 time: 0.10732078552246094 lenp(ha): 0.07600757370841223 rate: 0.020790506670227936 i: 2007 ha.loc[0,'a'] 3480\n",
      "list(a)[0]: 3480 time: 0.11029863357543945 lenp(ha): 0.0757370841222613 rate: 0.02075235020008299 i: 2008 ha.loc[0,'a'] 2167\n",
      "list(a)[0]: 2167 time: 0.08724069595336914 lenp(ha): 0.07546659453611036 rate: 0.020714193729938043 i: 2009 ha.loc[0,'a'] 3158\n",
      "list(a)[0]: 3158 time: 0.08725905418395996 lenp(ha): 0.07519610494995943 rate: 0.020676037259793098 i: 2010 ha.loc[0,'a'] 1015\n",
      "list(a)[0]: 1015 time: 0.0970466136932373 lenp(ha): 0.0749256153638085 rate: 0.02063788078964815 i: 2011 ha.loc[0,'a'] 5363\n",
      "list(a)[0]: 5363 time: 0.10428333282470703 lenp(ha): 0.07465512577765757 rate: 0.0205997243195032 i: 2012 ha.loc[0,'a'] 3646\n",
      "list(a)[0]: 3646 time: 0.0942840576171875 lenp(ha): 0.07438463619150662 rate: 0.020561567849358257 i: 2013 ha.loc[0,'a'] 3165\n",
      "list(a)[0]: 3165 time: 0.0642092227935791 lenp(ha): 0.07411414660535569 rate: 0.02052341137921331 i: 2014 ha.loc[0,'a'] 4901\n",
      "list(a)[0]: 4901 time: 0.07217121124267578 lenp(ha): 0.07384365701920476 rate: 0.020485254909068364 i: 2015 ha.loc[0,'a'] 4447\n",
      "list(a)[0]: 4447 time: 0.0703275203704834 lenp(ha): 0.07357316743305382 rate: 0.020447098438923415 i: 2016 ha.loc[0,'a'] 6946\n",
      "list(a)[0]: 6946 time: 0.08322381973266602 lenp(ha): 0.07330267784690289 rate: 0.020408941968778467 i: 2017 ha.loc[0,'a'] 1959\n",
      "list(a)[0]: 1959 time: 0.11330628395080566 lenp(ha): 0.07303218826075196 rate: 0.020370785498633522 i: 2018 ha.loc[0,'a'] 4240\n",
      "list(a)[0]: 4240 time: 0.08924150466918945 lenp(ha): 0.07276169867460103 rate: 0.020332629028488574 i: 2019 ha.loc[0,'a'] 5818\n",
      "list(a)[0]: 5818 time: 0.10628914833068848 lenp(ha): 0.0724912090884501 rate: 0.02029447255834363 i: 2020 ha.loc[0,'a'] 7539\n",
      "list(a)[0]: 7539 time: 0.09704995155334473 lenp(ha): 0.07222071950229916 rate: 0.02025631608819868 i: 2021 ha.loc[0,'a'] 2166\n",
      "list(a)[0]: 2166 time: 0.0908195972442627 lenp(ha): 0.07195022991614823 rate: 0.020222929176821853 i: 2022 ha.loc[0,'a'] 1476\n",
      "list(a)[0]: 1476 time: 0.0714268684387207 lenp(ha): 0.0716797403299973 rate: 0.020184772706676905 i: 2023 ha.loc[0,'a'] 5986\n",
      "list(a)[0]: 5986 time: 0.11140632629394531 lenp(ha): 0.07140925074384637 rate: 0.02014661623653196 i: 2024 ha.loc[0,'a'] 8393\n",
      "list(a)[0]: 8393 time: 0.06370115280151367 lenp(ha): 0.07113876115769543 rate: 0.02010845976638701 i: 2025 ha.loc[0,'a'] 5018\n",
      "list(a)[0]: 5018 time: 0.09084391593933105 lenp(ha): 0.07086827157154449 rate: 0.020070303296242063 i: 2026 ha.loc[0,'a'] 4137\n",
      "list(a)[0]: 4137 time: 0.07175159454345703 lenp(ha): 0.07059778198539356 rate: 0.02003214682609712 i: 2027 ha.loc[0,'a'] 3811\n",
      "list(a)[0]: 3811 time: 0.11711335182189941 lenp(ha): 0.07032729239924262 rate: 0.01999399035595217 i: 2028 ha.loc[0,'a'] 1576\n",
      "list(a)[0]: 1576 time: 0.08026957511901855 lenp(ha): 0.07005680281309169 rate: 0.019955833885807225 i: 2029 ha.loc[0,'a'] 4714\n",
      "list(a)[0]: 4714 time: 0.05219888687133789 lenp(ha): 0.06978631322694076 rate: 0.019917677415662277 i: 2030 ha.loc[0,'a'] 1708\n",
      "list(a)[0]: 1708 time: 0.07779622077941895 lenp(ha): 0.06951582364078983 rate: 0.01987952094551733 i: 2031 ha.loc[0,'a'] 8716\n",
      "list(a)[0]: 8716 time: 0.11731791496276855 lenp(ha): 0.0692453340546389 rate: 0.019841364475372384 i: 2032 ha.loc[0,'a'] 2556\n",
      "list(a)[0]: 2556 time: 0.08982443809509277 lenp(ha): 0.06897484446848796 rate: 0.019807977563995556 i: 2033 ha.loc[0,'a'] 1188\n",
      "list(a)[0]: 1188 time: 0.05326366424560547 lenp(ha): 0.06870435488233703 rate: 0.019769821093850608 i: 2034 ha.loc[0,'a'] 1732\n",
      "list(a)[0]: 1732 time: 0.08222126960754395 lenp(ha): 0.0684338652961861 rate: 0.01973166462370566 i: 2035 ha.loc[0,'a'] 8405\n",
      "list(a)[0]: 8405 time: 0.08724403381347656 lenp(ha): 0.06816337571003517 rate: 0.019693508153560715 i: 2036 ha.loc[0,'a'] 497\n",
      "list(a)[0]: 497 time: 0.061173439025878906 lenp(ha): 0.06789288612388424 rate: 0.019655351683415766 i: 2037 ha.loc[0,'a'] 3809\n",
      "list(a)[0]: 3809 time: 0.09626388549804688 lenp(ha): 0.0676223965377333 rate: 0.01961719521327082 i: 2038 ha.loc[0,'a'] 3376\n",
      "list(a)[0]: 3376 time: 0.07921171188354492 lenp(ha): 0.06735190695158236 rate: 0.019579038743125873 i: 2039 ha.loc[0,'a'] 8217\n",
      "list(a)[0]: 8217 time: 0.0990297794342041 lenp(ha): 0.06708141736543143 rate: 0.019540882272980925 i: 2040 ha.loc[0,'a'] 1656\n",
      "list(a)[0]: 1656 time: 0.08423566818237305 lenp(ha): 0.0668109277792805 rate: 0.01950272580283598 i: 2041 ha.loc[0,'a'] 447\n",
      "list(a)[0]: 447 time: 0.12033390998840332 lenp(ha): 0.06654043819312956 rate: 0.019464569332691032 i: 2042 ha.loc[0,'a'] 7023\n",
      "list(a)[0]: 7023 time: 0.04913616180419922 lenp(ha): 0.06626994860697863 rate: 0.019426412862546087 i: 2043 ha.loc[0,'a'] 3109\n",
      "list(a)[0]: 3109 time: 0.07219839096069336 lenp(ha): 0.0659994590208277 rate: 0.01938825639240114 i: 2044 ha.loc[0,'a'] 5875\n",
      "list(a)[0]: 5875 time: 0.09481263160705566 lenp(ha): 0.06572896943467677 rate: 0.01935009992225619 i: 2045 ha.loc[0,'a'] 6426\n",
      "list(a)[0]: 6426 time: 0.08121919631958008 lenp(ha): 0.06545847984852583 rate: 0.019311943452111246 i: 2046 ha.loc[0,'a'] 7232\n",
      "list(a)[0]: 7232 time: 0.09325313568115234 lenp(ha): 0.0651879902623749 rate: 0.019273786981966298 i: 2047 ha.loc[0,'a'] 4629\n",
      "list(a)[0]: 4629 time: 0.05715370178222656 lenp(ha): 0.06491750067622397 rate: 0.019235630511821353 i: 2048 ha.loc[0,'a'] 2148\n",
      "list(a)[0]: 2148 time: 0.07074189186096191 lenp(ha): 0.06464701109007304 rate: 0.019197474041676404 i: 2049 ha.loc[0,'a'] 7843\n",
      "list(a)[0]: 7843 time: 0.10027694702148438 lenp(ha): 0.0643765215039221 rate: 0.019159317571531456 i: 2050 ha.loc[0,'a'] 8321\n",
      "list(a)[0]: 8321 time: 0.09225344657897949 lenp(ha): 0.06410603191777117 rate: 0.01912116110138651 i: 2051 ha.loc[0,'a'] 5789\n",
      "list(a)[0]: 5789 time: 0.09325098991394043 lenp(ha): 0.06383554233162023 rate: 0.019083004631241563 i: 2052 ha.loc[0,'a'] 3214\n",
      "list(a)[0]: 3214 time: 0.09726786613464355 lenp(ha): 0.0635650527454693 rate: 0.01904484816109662 i: 2053 ha.loc[0,'a'] 1627\n",
      "list(a)[0]: 1627 time: 0.10328054428100586 lenp(ha): 0.06329456315931836 rate: 0.01900669169095167 i: 2054 ha.loc[0,'a'] 7274\n",
      "list(a)[0]: 7274 time: 0.08673238754272461 lenp(ha): 0.06302407357316743 rate: 0.018968535220806722 i: 2055 ha.loc[0,'a'] 4403\n",
      "list(a)[0]: 4403 time: 0.10929703712463379 lenp(ha): 0.0627535839870165 rate: 0.018930378750661777 i: 2056 ha.loc[0,'a'] 3205\n",
      "list(a)[0]: 3205 time: 0.046819448471069336 lenp(ha): 0.062483094400865566 rate: 0.01889222228051683 i: 2057 ha.loc[0,'a'] 8146\n",
      "list(a)[0]: 8146 time: 0.05612993240356445 lenp(ha): 0.062212604814714634 rate: 0.018854065810371884 i: 2058 ha.loc[0,'a'] 6749\n",
      "list(a)[0]: 6749 time: 0.11882448196411133 lenp(ha): 0.0619421152285637 rate: 0.018815909340226936 i: 2059 ha.loc[0,'a'] 7816\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 7816 time: 0.07593464851379395 lenp(ha): 0.06167162564241277 rate: 0.018777752870081987 i: 2060 ha.loc[0,'a'] 6792\n",
      "list(a)[0]: 6792 time: 0.08623576164245605 lenp(ha): 0.06140113605626183 rate: 0.018739596399937043 i: 2061 ha.loc[0,'a'] 7465\n",
      "list(a)[0]: 7465 time: 0.13938283920288086 lenp(ha): 0.0611306464701109 rate: 0.018696670371023977 i: 2062 ha.loc[0,'a'] 20\n",
      "list(a)[0]: 20 time: 0.0852818489074707 lenp(ha): 0.060860156883959966 rate: 0.018653744342110912 i: 2063 ha.loc[0,'a'] 7043\n",
      "list(a)[0]: 7043 time: 0.12834668159484863 lenp(ha): 0.060589667297809034 rate: 0.018610818313197847 i: 2064 ha.loc[0,'a'] 8265\n",
      "list(a)[0]: 8265 time: 0.09654903411865234 lenp(ha): 0.0603191777116581 rate: 0.018567892284284782 i: 2065 ha.loc[0,'a'] 7061\n",
      "list(a)[0]: 7061 time: 0.05916190147399902 lenp(ha): 0.06004868812550717 rate: 0.018524966255371717 i: 2066 ha.loc[0,'a'] 5169\n",
      "list(a)[0]: 5169 time: 0.08329582214355469 lenp(ha): 0.05977819853935624 rate: 0.01848204022645865 i: 2067 ha.loc[0,'a'] 1631\n",
      "list(a)[0]: 1631 time: 0.09225106239318848 lenp(ha): 0.0595077089532053 rate: 0.018439114197545584 i: 2068 ha.loc[0,'a'] 4467\n",
      "list(a)[0]: 4467 time: 0.06055116653442383 lenp(ha): 0.05923721936705437 rate: 0.01839618816863252 i: 2069 ha.loc[0,'a'] 2592\n",
      "list(a)[0]: 2592 time: 0.12415146827697754 lenp(ha): 0.058966729780903435 rate: 0.018353262139719453 i: 2070 ha.loc[0,'a'] 2877\n",
      "list(a)[0]: 2877 time: 0.49637913703918457 lenp(ha): 0.05842575060860157 rate: 0.018090936407472946 i: 2071 ha.loc[0,'a'] 6404\n",
      "list(a)[0]: 6404 time: 0.08478474617004395 lenp(ha): 0.05815526102245064 rate: 0.01804801037855988 i: 2072 ha.loc[0,'a'] 7573\n",
      "list(a)[0]: 7573 time: 0.09122467041015625 lenp(ha): 0.0578847714362997 rate: 0.018005084349646813 i: 2073 ha.loc[0,'a'] 3757\n",
      "list(a)[0]: 3757 time: 0.08929610252380371 lenp(ha): 0.05761428185014877 rate: 0.017962158320733747 i: 2074 ha.loc[0,'a'] 3570\n",
      "list(a)[0]: 3570 time: 0.2262880802154541 lenp(ha): 0.0570733026778469 rate: 0.01786676714537138 i: 2075 ha.loc[0,'a'] 6604\n",
      "list(a)[0]: 6604 time: 0.10529112815856934 lenp(ha): 0.05680281309169597 rate: 0.017823841116458315 i: 2076 ha.loc[0,'a'] 4569\n",
      "list(a)[0]: 4569 time: 0.1138451099395752 lenp(ha): 0.05653232350554504 rate: 0.01778091508754525 i: 2077 ha.loc[0,'a'] 3479\n",
      "list(a)[0]: 3479 time: 0.09775042533874512 lenp(ha): 0.05626183391939411 rate: 0.017737989058632185 i: 2078 ha.loc[0,'a'] 6826\n",
      "list(a)[0]: 6826 time: 0.09224772453308105 lenp(ha): 0.05599134433324317 rate: 0.01769506302971912 i: 2079 ha.loc[0,'a'] 7757\n",
      "list(a)[0]: 7757 time: 0.09828972816467285 lenp(ha): 0.055720854747092236 rate: 0.017652137000806055 i: 2080 ha.loc[0,'a'] 6534\n",
      "list(a)[0]: 6534 time: 0.09930205345153809 lenp(ha): 0.0554503651609413 rate: 0.01761398053066111 i: 2081 ha.loc[0,'a'] 5958\n",
      "list(a)[0]: 5958 time: 0.08426046371459961 lenp(ha): 0.05517987557479037 rate: 0.01757105450174804 i: 2082 ha.loc[0,'a'] 1807\n",
      "list(a)[0]: 1807 time: 0.11988663673400879 lenp(ha): 0.05490938598863944 rate: 0.017528128472834976 i: 2083 ha.loc[0,'a'] 1718\n",
      "list(a)[0]: 1718 time: 0.09128141403198242 lenp(ha): 0.05463889640248851 rate: 0.01748520244392191 i: 2084 ha.loc[0,'a'] 1487\n",
      "list(a)[0]: 1487 time: 0.07323503494262695 lenp(ha): 0.05436840681633757 rate: 0.017442276415008846 i: 2085 ha.loc[0,'a'] 6372\n",
      "list(a)[0]: 6372 time: 0.1188201904296875 lenp(ha): 0.054097917230186636 rate: 0.01739935038609578 i: 2086 ha.loc[0,'a'] 2531\n",
      "list(a)[0]: 2531 time: 0.07921242713928223 lenp(ha): 0.053827427644035704 rate: 0.017356424357182716 i: 2087 ha.loc[0,'a'] 6879\n",
      "list(a)[0]: 6879 time: 0.08893489837646484 lenp(ha): 0.05355693805788477 rate: 0.01731349832826965 i: 2088 ha.loc[0,'a'] 2585\n",
      "list(a)[0]: 2585 time: 0.11635494232177734 lenp(ha): 0.05328644847173384 rate: 0.017270572299356586 i: 2089 ha.loc[0,'a'] 2407\n",
      "list(a)[0]: 2407 time: 0.06721353530883789 lenp(ha): 0.05301595888558291 rate: 0.01722764627044352 i: 2090 ha.loc[0,'a'] 1310\n",
      "list(a)[0]: 1310 time: 0.1353776454925537 lenp(ha): 0.05274546929943197 rate: 0.017184720241530456 i: 2091 ha.loc[0,'a'] 8570\n",
      "list(a)[0]: 8570 time: 0.1153113842010498 lenp(ha): 0.052474979713281036 rate: 0.01714179421261739 i: 2092 ha.loc[0,'a'] 5777\n",
      "list(a)[0]: 5777 time: 0.13035368919372559 lenp(ha): 0.052204490127130104 rate: 0.017094098624936205 i: 2093 ha.loc[0,'a'] 6034\n",
      "list(a)[0]: 6034 time: 0.0767054557800293 lenp(ha): 0.05193400054097917 rate: 0.017046403037255024 i: 2094 ha.loc[0,'a'] 6089\n",
      "list(a)[0]: 6089 time: 0.08924055099487305 lenp(ha): 0.05166351095482824 rate: 0.01699870744957384 i: 2095 ha.loc[0,'a'] 2365\n",
      "list(a)[0]: 2365 time: 0.12135863304138184 lenp(ha): 0.05139302136867731 rate: 0.016951011861892656 i: 2096 ha.loc[0,'a'] 3239\n",
      "list(a)[0]: 3239 time: 0.0797433853149414 lenp(ha): 0.051122531782526376 rate: 0.01690331627421147 i: 2097 ha.loc[0,'a'] 7771\n",
      "list(a)[0]: 7771 time: 0.1260666847229004 lenp(ha): 0.05085204219637544 rate: 0.01685562068653029 i: 2098 ha.loc[0,'a'] 4567\n",
      "list(a)[0]: 4567 time: 0.07570719718933105 lenp(ha): 0.050581552610224505 rate: 0.016807925098849104 i: 2099 ha.loc[0,'a'] 4389\n",
      "list(a)[0]: 4389 time: 0.08423233032226562 lenp(ha): 0.05031106302407357 rate: 0.016760229511167922 i: 2100 ha.loc[0,'a'] 416\n",
      "list(a)[0]: 416 time: 0.0787968635559082 lenp(ha): 0.05004057343792264 rate: 0.016712533923486737 i: 2101 ha.loc[0,'a'] 7018\n",
      "list(a)[0]: 7018 time: 0.09026694297790527 lenp(ha): 0.04977008385177171 rate: 0.016664838335805555 i: 2102 ha.loc[0,'a'] 5124\n",
      "list(a)[0]: 5124 time: 0.24744772911071777 lenp(ha): 0.04922910467946984 rate: 0.01655990804290695 i: 2103 ha.loc[0,'a'] 5040\n",
      "list(a)[0]: 5040 time: 0.1253211498260498 lenp(ha): 0.048958615093318905 rate: 0.01651221245522577 i: 2104 ha.loc[0,'a'] 5846\n",
      "list(a)[0]: 5846 time: 0.11684918403625488 lenp(ha): 0.04868812550716797 rate: 0.016464516867544583 i: 2105 ha.loc[0,'a'] 5639\n",
      "list(a)[0]: 5639 time: 0.09883999824523926 lenp(ha): 0.04841763592101704 rate: 0.0164168212798634 i: 2106 ha.loc[0,'a'] 5385\n",
      "list(a)[0]: 5385 time: 0.10584092140197754 lenp(ha): 0.04814714633486611 rate: 0.016369125692182216 i: 2107 ha.loc[0,'a'] 4888\n",
      "list(a)[0]: 4888 time: 0.08928442001342773 lenp(ha): 0.04787665674871518 rate: 0.016321430104501034 i: 2108 ha.loc[0,'a'] 6060\n",
      "list(a)[0]: 6060 time: 0.10787796974182129 lenp(ha): 0.047606167162564245 rate: 0.01627373451681985 i: 2109 ha.loc[0,'a'] 233\n",
      "list(a)[0]: 233 time: 0.12341737747192383 lenp(ha): 0.047335677576413306 rate: 0.016226038929138667 i: 2110 ha.loc[0,'a'] 4785\n",
      "list(a)[0]: 4785 time: 0.13041234016418457 lenp(ha): 0.047065187990262373 rate: 0.01617834334145748 i: 2111 ha.loc[0,'a'] 3980\n",
      "list(a)[0]: 3980 time: 0.11029219627380371 lenp(ha): 0.04679469840411144 rate: 0.0161306477537763 i: 2112 ha.loc[0,'a'] 1214\n",
      "list(a)[0]: 1214 time: 0.09629321098327637 lenp(ha): 0.04652420881796051 rate: 0.016082952166095114 i: 2113 ha.loc[0,'a'] 4377\n",
      "list(a)[0]: 4377 time: 0.12192153930664062 lenp(ha): 0.04625371923180958 rate: 0.016035256578413933 i: 2114 ha.loc[0,'a'] 519\n",
      "list(a)[0]: 519 time: 0.09628868103027344 lenp(ha): 0.045983229645658645 rate: 0.015987560990732747 i: 2115 ha.loc[0,'a'] 3861\n",
      "list(a)[0]: 3861 time: 0.14393162727355957 lenp(ha): 0.045712740059507706 rate: 0.015939865403051565 i: 2116 ha.loc[0,'a'] 3038\n",
      "list(a)[0]: 3038 time: 0.08829593658447266 lenp(ha): 0.045442250473356774 rate: 0.01589216981537038 i: 2117 ha.loc[0,'a'] 397\n",
      "list(a)[0]: 397 time: 0.05916619300842285 lenp(ha): 0.04517176088720584 rate: 0.015844474227689198 i: 2118 ha.loc[0,'a'] 6238\n",
      "list(a)[0]: 6238 time: 0.10227799415588379 lenp(ha): 0.04490127130105491 rate: 0.015796778640008013 i: 2119 ha.loc[0,'a'] 4965\n",
      "list(a)[0]: 4965 time: 0.08403968811035156 lenp(ha): 0.04463078171490398 rate: 0.01574908305232683 i: 2120 ha.loc[0,'a'] 4832\n",
      "list(a)[0]: 4832 time: 0.10331249237060547 lenp(ha): 0.044360292128753046 rate: 0.015701387464645646 i: 2121 ha.loc[0,'a'] 3886\n",
      "list(a)[0]: 3886 time: 0.12737321853637695 lenp(ha): 0.044089802542602106 rate: 0.01565846143573258 i: 2122 ha.loc[0,'a'] 4530\n",
      "list(a)[0]: 4530 time: 0.1209099292755127 lenp(ha): 0.043819312956451174 rate: 0.015610765848051397 i: 2123 ha.loc[0,'a'] 3441\n",
      "list(a)[0]: 3441 time: 0.07781815528869629 lenp(ha): 0.04354882337030024 rate: 0.015558300701602095 i: 2124 ha.loc[0,'a'] 2969\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 2969 time: 0.07620501518249512 lenp(ha): 0.04327833378414931 rate: 0.015505835555152793 i: 2125 ha.loc[0,'a'] 6146\n",
      "list(a)[0]: 6146 time: 0.15793323516845703 lenp(ha): 0.04300784419799838 rate: 0.01545337040870349 i: 2126 ha.loc[0,'a'] 1644\n",
      "list(a)[0]: 1644 time: 0.11801767349243164 lenp(ha): 0.042737354611847446 rate: 0.015400905262254188 i: 2127 ha.loc[0,'a'] 800\n",
      "list(a)[0]: 800 time: 0.12935209274291992 lenp(ha): 0.042466865025696514 rate: 0.015348440115804886 i: 2128 ha.loc[0,'a'] 2784\n",
      "list(a)[0]: 2784 time: 0.07675862312316895 lenp(ha): 0.042196375439545575 rate: 0.015295974969355586 i: 2129 ha.loc[0,'a'] 5847\n",
      "list(a)[0]: 5847 time: 0.06670618057250977 lenp(ha): 0.04192588585339464 rate: 0.015243509822906284 i: 2130 ha.loc[0,'a'] 351\n",
      "list(a)[0]: 351 time: 0.11637163162231445 lenp(ha): 0.04165539626724371 rate: 0.015191044676456981 i: 2131 ha.loc[0,'a'] 8314\n",
      "list(a)[0]: 8314 time: 0.12135434150695801 lenp(ha): 0.04138490668109278 rate: 0.01513857953000768 i: 2132 ha.loc[0,'a'] 4013\n",
      "list(a)[0]: 4013 time: 0.10584640502929688 lenp(ha): 0.041114417094941846 rate: 0.015086114383558377 i: 2133 ha.loc[0,'a'] 876\n",
      "list(a)[0]: 876 time: 0.1233668327331543 lenp(ha): 0.040843927508790914 rate: 0.015033649237109075 i: 2134 ha.loc[0,'a'] 6179\n",
      "list(a)[0]: 6179 time: 0.09075140953063965 lenp(ha): 0.040573437922639975 rate: 0.014981184090659773 i: 2135 ha.loc[0,'a'] 2422\n",
      "list(a)[0]: 2422 time: 0.11633539199829102 lenp(ha): 0.04030294833648904 rate: 0.01492871894421047 i: 2136 ha.loc[0,'a'] 6817\n",
      "list(a)[0]: 6817 time: 0.08433771133422852 lenp(ha): 0.04003245875033811 rate: 0.014876253797761169 i: 2137 ha.loc[0,'a'] 3175\n",
      "list(a)[0]: 3175 time: 0.31184935569763184 lenp(ha): 0.03949147957803625 rate: 0.014761784387326329 i: 2138 ha.loc[0,'a'] 6724\n",
      "list(a)[0]: 6724 time: 0.0903017520904541 lenp(ha): 0.039220989991885315 rate: 0.014709319240877027 i: 2139 ha.loc[0,'a'] 1412\n",
      "list(a)[0]: 1412 time: 0.11586809158325195 lenp(ha): 0.03895050040573438 rate: 0.014656854094427725 i: 2140 ha.loc[0,'a'] 7788\n",
      "list(a)[0]: 7788 time: 0.13941264152526855 lenp(ha): 0.038680010819583444 rate: 0.014604388947978423 i: 2141 ha.loc[0,'a'] 8666\n",
      "list(a)[0]: 8666 time: 0.12241172790527344 lenp(ha): 0.03840952123343251 rate: 0.01455192380152912 i: 2142 ha.loc[0,'a'] 8267\n",
      "list(a)[0]: 8267 time: 0.10930228233337402 lenp(ha): 0.03813903164728158 rate: 0.014499458655079818 i: 2143 ha.loc[0,'a'] 619\n",
      "list(a)[0]: 619 time: 0.14666461944580078 lenp(ha): 0.03786854206113065 rate: 0.014446993508630516 i: 2144 ha.loc[0,'a'] 8575\n",
      "list(a)[0]: 8575 time: 0.12885284423828125 lenp(ha): 0.037598052474979715 rate: 0.014394528362181214 i: 2145 ha.loc[0,'a'] 3644\n",
      "list(a)[0]: 3644 time: 0.13367080688476562 lenp(ha): 0.03732756288882878 rate: 0.014342063215731912 i: 2146 ha.loc[0,'a'] 5512\n",
      "list(a)[0]: 5512 time: 0.12835431098937988 lenp(ha): 0.037057073302677844 rate: 0.014289598069282611 i: 2147 ha.loc[0,'a'] 707\n",
      "list(a)[0]: 707 time: 0.07921624183654785 lenp(ha): 0.03678658371652691 rate: 0.01423713292283331 i: 2148 ha.loc[0,'a'] 1001\n",
      "list(a)[0]: 1001 time: 0.08488821983337402 lenp(ha): 0.03651609413037598 rate: 0.014179898217615889 i: 2149 ha.loc[0,'a'] 5516\n",
      "list(a)[0]: 5516 time: 0.10030007362365723 lenp(ha): 0.03624560454422505 rate: 0.014122663512398468 i: 2150 ha.loc[0,'a'] 6670\n",
      "list(a)[0]: 6670 time: 0.1313951015472412 lenp(ha): 0.035975114958074116 rate: 0.014065428807181047 i: 2151 ha.loc[0,'a'] 2177\n",
      "list(a)[0]: 2177 time: 0.08122062683105469 lenp(ha): 0.035704625371923183 rate: 0.014008194101963627 i: 2152 ha.loc[0,'a'] 200\n",
      "list(a)[0]: 200 time: 0.07483267784118652 lenp(ha): 0.035434135785772244 rate: 0.013950959396746208 i: 2153 ha.loc[0,'a'] 7170\n",
      "list(a)[0]: 7170 time: 0.09784269332885742 lenp(ha): 0.03516364619962131 rate: 0.013893724691528787 i: 2154 ha.loc[0,'a'] 8520\n",
      "list(a)[0]: 8520 time: 0.09933352470397949 lenp(ha): 0.03489315661347038 rate: 0.013836489986311366 i: 2155 ha.loc[0,'a'] 386\n",
      "list(a)[0]: 386 time: 0.0912473201751709 lenp(ha): 0.03462266702731945 rate: 0.013779255281093946 i: 2156 ha.loc[0,'a'] 7495\n",
      "list(a)[0]: 7495 time: 0.12619280815124512 lenp(ha): 0.034352177441168516 rate: 0.013722020575876525 i: 2157 ha.loc[0,'a'] 6779\n",
      "list(a)[0]: 6779 time: 0.0953218936920166 lenp(ha): 0.034081687855017584 rate: 0.013664785870659106 i: 2158 ha.loc[0,'a'] 201\n",
      "list(a)[0]: 201 time: 0.1271529197692871 lenp(ha): 0.03381119826886665 rate: 0.013607551165441685 i: 2159 ha.loc[0,'a'] 5163\n",
      "list(a)[0]: 5163 time: 0.08780169486999512 lenp(ha): 0.03354070868271571 rate: 0.013550316460224265 i: 2160 ha.loc[0,'a'] 2496\n",
      "list(a)[0]: 2496 time: 0.13744664192199707 lenp(ha): 0.03327021909656478 rate: 0.013493081755006844 i: 2161 ha.loc[0,'a'] 8000\n",
      "list(a)[0]: 8000 time: 0.1519467830657959 lenp(ha): 0.03299972951041385 rate: 0.013435847049789423 i: 2162 ha.loc[0,'a'] 514\n",
      "list(a)[0]: 514 time: 0.1243903636932373 lenp(ha): 0.032729239924262916 rate: 0.013378612344572004 i: 2163 ha.loc[0,'a'] 571\n",
      "list(a)[0]: 571 time: 0.08874225616455078 lenp(ha): 0.032458750338111984 rate: 0.013321377639354584 i: 2164 ha.loc[0,'a'] 5053\n",
      "list(a)[0]: 5053 time: 0.11834979057312012 lenp(ha): 0.03218826075196105 rate: 0.013264142934137163 i: 2165 ha.loc[0,'a'] 5097\n",
      "list(a)[0]: 5097 time: 0.11433291435241699 lenp(ha): 0.03191777116581011 rate: 0.013206908228919742 i: 2166 ha.loc[0,'a'] 461\n",
      "list(a)[0]: 461 time: 0.14456653594970703 lenp(ha): 0.03164728157965918 rate: 0.013144903964934203 i: 2167 ha.loc[0,'a'] 7129\n",
      "list(a)[0]: 7129 time: 0.10236644744873047 lenp(ha): 0.03137679199350825 rate: 0.013082899700948666 i: 2168 ha.loc[0,'a'] 5822\n",
      "list(a)[0]: 5822 time: 0.10032463073730469 lenp(ha): 0.031106302407357317 rate: 0.013020895436963126 i: 2169 ha.loc[0,'a'] 246\n",
      "list(a)[0]: 246 time: 0.13037633895874023 lenp(ha): 0.030835812821206385 rate: 0.012958891172977587 i: 2170 ha.loc[0,'a'] 2675\n",
      "list(a)[0]: 2675 time: 0.09024262428283691 lenp(ha): 0.03056532323505545 rate: 0.01289688690899205 i: 2171 ha.loc[0,'a'] 2435\n",
      "list(a)[0]: 2435 time: 0.12533974647521973 lenp(ha): 0.030294833648904517 rate: 0.01283488264500651 i: 2172 ha.loc[0,'a'] 2625\n",
      "list(a)[0]: 2625 time: 0.07169294357299805 lenp(ha): 0.030024344062753585 rate: 0.012772878381020971 i: 2173 ha.loc[0,'a'] 8835\n",
      "list(a)[0]: 8835 time: 0.18149065971374512 lenp(ha): 0.02975385447660265 rate: 0.012710874117035434 i: 2174 ha.loc[0,'a'] 6508\n",
      "list(a)[0]: 6508 time: 0.1592111587524414 lenp(ha): 0.029483364890451717 rate: 0.012648869853049895 i: 2175 ha.loc[0,'a'] 1616\n",
      "list(a)[0]: 1616 time: 0.08494114875793457 lenp(ha): 0.029212875304300785 rate: 0.012586865589064355 i: 2176 ha.loc[0,'a'] 3585\n",
      "list(a)[0]: 3585 time: 0.1781618595123291 lenp(ha): 0.02894238571814985 rate: 0.012524861325078816 i: 2177 ha.loc[0,'a'] 4930\n",
      "list(a)[0]: 4930 time: 0.1043088436126709 lenp(ha): 0.028671896131998918 rate: 0.012462857061093279 i: 2178 ha.loc[0,'a'] 8746\n",
      "list(a)[0]: 8746 time: 0.09001612663269043 lenp(ha): 0.028401406545847985 rate: 0.01240085279710774 i: 2179 ha.loc[0,'a'] 2296\n",
      "list(a)[0]: 2296 time: 0.12740516662597656 lenp(ha): 0.028130916959697053 rate: 0.0123388485331222 i: 2180 ha.loc[0,'a'] 541\n",
      "list(a)[0]: 541 time: 0.10030031204223633 lenp(ha): 0.027860427373546118 rate: 0.012272074710368544 i: 2181 ha.loc[0,'a'] 4149\n",
      "list(a)[0]: 4149 time: 0.12737250328063965 lenp(ha): 0.027589937787395186 rate: 0.012205300887614887 i: 2182 ha.loc[0,'a'] 8032\n",
      "list(a)[0]: 8032 time: 0.178572416305542 lenp(ha): 0.027319448201244254 rate: 0.012138527064861229 i: 2183 ha.loc[0,'a'] 1637\n",
      "list(a)[0]: 1637 time: 0.1645045280456543 lenp(ha): 0.027048958615093318 rate: 0.012071753242107573 i: 2184 ha.loc[0,'a'] 3353\n",
      "list(a)[0]: 3353 time: 0.15392136573791504 lenp(ha): 0.026778469028942386 rate: 0.012004979419353915 i: 2185 ha.loc[0,'a'] 8594\n",
      "list(a)[0]: 8594 time: 0.11586713790893555 lenp(ha): 0.026507979442791454 rate: 0.011938205596600259 i: 2186 ha.loc[0,'a'] 1177\n",
      "list(a)[0]: 1177 time: 0.14840912818908691 lenp(ha): 0.026237489856640518 rate: 0.011871431773846601 i: 2187 ha.loc[0,'a'] 3561\n",
      "list(a)[0]: 3561 time: 0.14650583267211914 lenp(ha): 0.025967000270489586 rate: 0.011804657951092944 i: 2188 ha.loc[0,'a'] 8021\n",
      "list(a)[0]: 8021 time: 0.3175628185272217 lenp(ha): 0.02542602109818772 rate: 0.011666340746817511 i: 2189 ha.loc[0,'a'] 431\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 431 time: 0.18024420738220215 lenp(ha): 0.025155531512036786 rate: 0.011599566924063855 i: 2190 ha.loc[0,'a'] 1061\n",
      "list(a)[0]: 1061 time: 0.1444227695465088 lenp(ha): 0.024885041925885854 rate: 0.011532793101310198 i: 2191 ha.loc[0,'a'] 6787\n",
      "list(a)[0]: 6787 time: 0.13294410705566406 lenp(ha): 0.02461455233973492 rate: 0.011466019278556542 i: 2192 ha.loc[0,'a'] 6144\n",
      "list(a)[0]: 6144 time: 0.16356229782104492 lenp(ha): 0.024344062753583987 rate: 0.011399245455802884 i: 2193 ha.loc[0,'a'] 1398\n",
      "list(a)[0]: 1398 time: 0.17215490341186523 lenp(ha): 0.024073573167433054 rate: 0.011327702074281108 i: 2194 ha.loc[0,'a'] 4583\n",
      "list(a)[0]: 4583 time: 0.1810462474822998 lenp(ha): 0.023803083581282122 rate: 0.011256158692759333 i: 2195 ha.loc[0,'a'] 7550\n",
      "list(a)[0]: 7550 time: 0.20011568069458008 lenp(ha): 0.023532593995131187 rate: 0.011184615311237557 i: 2196 ha.loc[0,'a'] 592\n",
      "list(a)[0]: 592 time: 0.09027361869812012 lenp(ha): 0.023262104408980255 rate: 0.011113071929715782 i: 2197 ha.loc[0,'a'] 796\n",
      "list(a)[0]: 796 time: 0.5023989677429199 lenp(ha): 0.022721125236678387 rate: 0.010893672226382337 i: 2198 ha.loc[0,'a'] 1805\n",
      "list(a)[0]: 1805 time: 0.12436246871948242 lenp(ha): 0.022450635650527455 rate: 0.010822128844860562 i: 2199 ha.loc[0,'a'] 5039\n",
      "list(a)[0]: 5039 time: 0.14595293998718262 lenp(ha): 0.022180146064376523 rate: 0.010745815904570669 i: 2200 ha.loc[0,'a'] 385\n",
      "list(a)[0]: 385 time: 0.12783575057983398 lenp(ha): 0.021909656478225587 rate: 0.010669502964280774 i: 2201 ha.loc[0,'a'] 4099\n",
      "list(a)[0]: 4099 time: 0.2000899314880371 lenp(ha): 0.021639166892074655 rate: 0.010593190023990881 i: 2202 ha.loc[0,'a'] 6542\n",
      "list(a)[0]: 6542 time: 0.09926962852478027 lenp(ha): 0.021368677305923723 rate: 0.010516877083700986 i: 2203 ha.loc[0,'a'] 3722\n",
      "list(a)[0]: 3722 time: 0.16650795936584473 lenp(ha): 0.021098187719772787 rate: 0.010440564143411093 i: 2204 ha.loc[0,'a'] 4053\n",
      "list(a)[0]: 4053 time: 0.18550777435302734 lenp(ha): 0.020827698133621855 rate: 0.0103642512031212 i: 2205 ha.loc[0,'a'] 4523\n",
      "list(a)[0]: 4523 time: 0.11684560775756836 lenp(ha): 0.020557208547470923 rate: 0.010283168704063187 i: 2206 ha.loc[0,'a'] 7506\n",
      "list(a)[0]: 7506 time: 0.13338971138000488 lenp(ha): 0.020286718961319988 rate: 0.010202086205005175 i: 2207 ha.loc[0,'a'] 2950\n",
      "list(a)[0]: 2950 time: 0.1539478302001953 lenp(ha): 0.020016229375169056 rate: 0.010121003705947164 i: 2208 ha.loc[0,'a'] 642\n",
      "list(a)[0]: 642 time: 0.16196775436401367 lenp(ha): 0.019745739789018123 rate: 0.01003992120688915 i: 2209 ha.loc[0,'a'] 4466\n",
      "list(a)[0]: 4466 time: 0.14140939712524414 lenp(ha): 0.01947525020286719 rate: 0.009958838707831139 i: 2210 ha.loc[0,'a'] 5261\n",
      "list(a)[0]: 5261 time: 0.20543909072875977 lenp(ha): 0.019204760616716256 rate: 0.009877756208773127 i: 2211 ha.loc[0,'a'] 3318\n",
      "list(a)[0]: 3318 time: 0.19559121131896973 lenp(ha): 0.018934271030565324 rate: 0.009796673709715114 i: 2212 ha.loc[0,'a'] 833\n",
      "list(a)[0]: 833 time: 0.11486291885375977 lenp(ha): 0.01866378144441439 rate: 0.009710821651888983 i: 2213 ha.loc[0,'a'] 1944\n",
      "list(a)[0]: 1944 time: 0.13687515258789062 lenp(ha): 0.018393291858263456 rate: 0.009624969594062853 i: 2214 ha.loc[0,'a'] 109\n",
      "list(a)[0]: 109 time: 0.17149686813354492 lenp(ha): 0.018122802272112524 rate: 0.009539117536236723 i: 2215 ha.loc[0,'a'] 411\n",
      "list(a)[0]: 411 time: 0.14760255813598633 lenp(ha): 0.017852312685961592 rate: 0.009453265478410593 i: 2216 ha.loc[0,'a'] 2051\n",
      "list(a)[0]: 2051 time: 0.19843053817749023 lenp(ha): 0.017581823099810656 rate: 0.009367413420584461 i: 2217 ha.loc[0,'a'] 2941\n",
      "list(a)[0]: 2941 time: 0.12734389305114746 lenp(ha): 0.017311333513659724 rate: 0.009281561362758331 i: 2218 ha.loc[0,'a'] 1859\n",
      "list(a)[0]: 1859 time: 0.20914506912231445 lenp(ha): 0.017040843927508792 rate: 0.009190939746164082 i: 2219 ha.loc[0,'a'] 317\n",
      "list(a)[0]: 317 time: 0.10431194305419922 lenp(ha): 0.016770354341357856 rate: 0.009100318129569834 i: 2220 ha.loc[0,'a'] 3170\n",
      "list(a)[0]: 3170 time: 0.19954657554626465 lenp(ha): 0.016499864755206924 rate: 0.009009696512975585 i: 2221 ha.loc[0,'a'] 5888\n",
      "list(a)[0]: 5888 time: 0.21946310997009277 lenp(ha): 0.016229375169055992 rate: 0.008919074896381336 i: 2222 ha.loc[0,'a'] 7438\n",
      "list(a)[0]: 7438 time: 0.1524372100830078 lenp(ha): 0.015958885582905057 rate: 0.008828453279787088 i: 2223 ha.loc[0,'a'] 2519\n",
      "list(a)[0]: 2519 time: 0.18352556228637695 lenp(ha): 0.015688395996754124 rate: 0.008737831663192837 i: 2224 ha.loc[0,'a'] 8269\n",
      "list(a)[0]: 8269 time: 0.21967124938964844 lenp(ha): 0.015417906410603192 rate: 0.008647210046598588 i: 2225 ha.loc[0,'a'] 3155\n",
      "list(a)[0]: 3155 time: 0.26538872718811035 lenp(ha): 0.015147416824452259 rate: 0.008551818871236221 i: 2226 ha.loc[0,'a'] 6513\n",
      "list(a)[0]: 6513 time: 0.19812774658203125 lenp(ha): 0.014876927238301325 rate: 0.008456427695873854 i: 2227 ha.loc[0,'a'] 2857\n",
      "list(a)[0]: 2857 time: 0.1514146327972412 lenp(ha): 0.014606437652150393 rate: 0.008361036520511487 i: 2228 ha.loc[0,'a'] 814\n",
      "list(a)[0]: 814 time: 0.20756173133850098 lenp(ha): 0.014335948065999459 rate: 0.00826564534514912 i: 2229 ha.loc[0,'a'] 8013\n",
      "list(a)[0]: 8013 time: 0.16945910453796387 lenp(ha): 0.014065458479848527 rate: 0.008170254169786752 i: 2230 ha.loc[0,'a'] 5602\n",
      "list(a)[0]: 5602 time: 0.21210575103759766 lenp(ha): 0.013794968893697593 rate: 0.008074862994424385 i: 2231 ha.loc[0,'a'] 4123\n",
      "list(a)[0]: 4123 time: 0.16239237785339355 lenp(ha): 0.013524479307546659 rate: 0.007979471819062018 i: 2232 ha.loc[0,'a'] 6611\n",
      "list(a)[0]: 6611 time: 0.12852692604064941 lenp(ha): 0.013253989721395727 rate: 0.00788408064369965 i: 2233 ha.loc[0,'a'] 8108\n",
      "list(a)[0]: 8108 time: 0.16401243209838867 lenp(ha): 0.012983500135244793 rate: 0.0077886894683372844 i: 2234 ha.loc[0,'a'] 3103\n",
      "list(a)[0]: 3103 time: 0.2557339668273926 lenp(ha): 0.01271301054909386 rate: 0.007693298292974917 i: 2235 ha.loc[0,'a'] 1951\n",
      "list(a)[0]: 1951 time: 0.2236173152923584 lenp(ha): 0.012442520962942927 rate: 0.0075931375588444315 i: 2236 ha.loc[0,'a'] 7613\n",
      "list(a)[0]: 7613 time: 0.16246533393859863 lenp(ha): 0.012172031376791993 rate: 0.007492976824713946 i: 2237 ha.loc[0,'a'] 2749\n",
      "list(a)[0]: 2749 time: 0.18052124977111816 lenp(ha): 0.011901541790641061 rate: 0.00739281609058346 i: 2238 ha.loc[0,'a'] 7301\n",
      "list(a)[0]: 7301 time: 0.17158222198486328 lenp(ha): 0.011631052204490127 rate: 0.007292655356452974 i: 2239 ha.loc[0,'a'] 4676\n",
      "list(a)[0]: 4676 time: 0.17647576332092285 lenp(ha): 0.011360562618339193 rate: 0.007192494622322489 i: 2240 ha.loc[0,'a'] 3389\n",
      "list(a)[0]: 3389 time: 0.24935483932495117 lenp(ha): 0.011090073032188261 rate: 0.007087564329423885 i: 2241 ha.loc[0,'a'] 685\n",
      "list(a)[0]: 685 time: 0.15140700340270996 lenp(ha): 0.010819583446037328 rate: 0.006982634036525281 i: 2242 ha.loc[0,'a'] 503\n",
      "list(a)[0]: 503 time: 0.257077693939209 lenp(ha): 0.010549093859886394 rate: 0.006877703743626677 i: 2243 ha.loc[0,'a'] 1950\n",
      "list(a)[0]: 1950 time: 0.224609375 lenp(ha): 0.010278604273735462 rate: 0.006772773450728073 i: 2244 ha.loc[0,'a'] 2334\n",
      "list(a)[0]: 2334 time: 0.25959181785583496 lenp(ha): 0.010008114687584528 rate: 0.006663073599061351 i: 2245 ha.loc[0,'a'] 5362\n",
      "list(a)[0]: 5362 time: 0.07276558876037598 lenp(ha): 0.009737625101433596 rate: 0.006553373747394628 i: 2246 ha.loc[0,'a'] 6710\n",
      "list(a)[0]: 6710 time: 0.26049065589904785 lenp(ha): 0.009467135515282662 rate: 0.006438904336959788 i: 2247 ha.loc[0,'a'] 8808\n",
      "list(a)[0]: 8808 time: 0.19530558586120605 lenp(ha): 0.009196645929131728 rate: 0.006324434926524947 i: 2248 ha.loc[0,'a'] 5075\n",
      "list(a)[0]: 5075 time: 0.23470306396484375 lenp(ha): 0.008926156342980796 rate: 0.006209965516090107 i: 2249 ha.loc[0,'a'] 5734\n",
      "list(a)[0]: 5734 time: 0.14444422721862793 lenp(ha): 0.008655666756829862 rate: 0.006090726546887148 i: 2250 ha.loc[0,'a'] 3472\n",
      "list(a)[0]: 3472 time: 0.15137505531311035 lenp(ha): 0.008385177170678928 rate: 0.005971487577684189 i: 2251 ha.loc[0,'a'] 1812\n",
      "list(a)[0]: 1812 time: 0.27904486656188965 lenp(ha): 0.008114687584527996 rate: 0.005847479049713111 i: 2252 ha.loc[0,'a'] 1434\n",
      "list(a)[0]: 1434 time: 0.1534423828125 lenp(ha): 0.007844197998377062 rate: 0.005723470521742034 i: 2253 ha.loc[0,'a'] 6746\n",
      "list(a)[0]: 6746 time: 0.22444605827331543 lenp(ha): 0.007573708412226129 rate: 0.005599461993770956 i: 2254 ha.loc[0,'a'] 3898\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "list(a)[0]: 3898 time: 0.24128317832946777 lenp(ha): 0.007303218826075196 rate: 0.005475453465799879 i: 2255 ha.loc[0,'a'] 2382\n",
      "list(a)[0]: 2382 time: 0.27342748641967773 lenp(ha): 0.007032729239924263 rate: 0.005346675379060683 i: 2256 ha.loc[0,'a'] 1614\n",
      "list(a)[0]: 1614 time: 0.18663549423217773 lenp(ha): 0.0067622396537733295 rate: 0.005217897292321487 i: 2257 ha.loc[0,'a'] 5236\n",
      "list(a)[0]: 5236 time: 0.244307279586792 lenp(ha): 0.0064917500676223965 rate: 0.005089119205582291 i: 2258 ha.loc[0,'a'] 3792\n",
      "list(a)[0]: 3792 time: 0.30551815032958984 lenp(ha): 0.0062212604814714636 rate: 0.004960341118843096 i: 2259 ha.loc[0,'a'] 6403\n",
      "list(a)[0]: 6403 time: 0.23329496383666992 lenp(ha): 0.005950770895320531 rate: 0.004826793473335781 i: 2260 ha.loc[0,'a'] 3952\n",
      "list(a)[0]: 3952 time: 0.22980475425720215 lenp(ha): 0.005680281309169597 rate: 0.004688476269060349 i: 2261 ha.loc[0,'a'] 6762\n",
      "list(a)[0]: 6762 time: 0.37464189529418945 lenp(ha): 0.005409791723018664 rate: 0.004545389506016798 i: 2262 ha.loc[0,'a'] 2306\n",
      "list(a)[0]: 2306 time: 0.22064828872680664 lenp(ha): 0.005139302136867731 rate: 0.004397533184205129 i: 2263 ha.loc[0,'a'] 974\n",
      "list(a)[0]: 974 time: 0.400679349899292 lenp(ha): 0.004868812550716798 rate: 0.004240137744857223 i: 2264 ha.loc[0,'a'] 7503\n",
      "list(a)[0]: 7503 time: 0.2527134418487549 lenp(ha): 0.004598322964565864 rate: 0.004082742305509317 i: 2265 ha.loc[0,'a'] 4953\n",
      "list(a)[0]: 4953 time: 0.325883150100708 lenp(ha): 0.004327833378414931 rate: 0.003915807748625174 i: 2266 ha.loc[0,'a'] 3283\n",
      "list(a)[0]: 3283 time: 0.3619873523712158 lenp(ha): 0.004057343792263998 rate: 0.003748873191741032 i: 2267 ha.loc[0,'a'] 7229\n",
      "list(a)[0]: 7229 time: 0.20358586311340332 lenp(ha): 0.0037868542061130646 rate: 0.0035819386348568895 i: 2268 ha.loc[0,'a'] 7078\n",
      "list(a)[0]: 7078 time: 0.3800930976867676 lenp(ha): 0.0035163646199621317 rate: 0.003395925842900273 i: 2269 ha.loc[0,'a'] 2635\n",
      "list(a)[0]: 2635 time: 0.2873852252960205 lenp(ha): 0.0032458750338111983 rate: 0.0032051434921755387 i: 2270 ha.loc[0,'a'] 931\n",
      "list(a)[0]: 931 time: 0.29388904571533203 lenp(ha): 0.0029753854476602653 rate: 0.0030095915826826862 i: 2271 ha.loc[0,'a'] 4314\n",
      "list(a)[0]: 4314 time: 0.5701127052307129 lenp(ha): 0.002704895861509332 rate: 0.002799730996885478 i: 2272 ha.loc[0,'a'] 2567\n",
      "list(a)[0]: 2567 time: 0.45125532150268555 lenp(ha): 0.002434406275358399 rate: 0.002585100852320152 i: 2273 ha.loc[0,'a'] 7397\n",
      "list(a)[0]: 7397 time: 0.26396870613098145 lenp(ha): 0.0021639166892074655 rate: 0.002365701148986707 i: 2274 ha.loc[0,'a'] 3171\n",
      "list(a)[0]: 3171 time: 0.2969629764556885 lenp(ha): 0.0018934271030565323 rate: 0.0021463014456532628 i: 2275 ha.loc[0,'a'] 1923\n",
      "list(a)[0]: 1923 time: 0.3018839359283447 lenp(ha): 0.0016229375169055991 rate: 0.0019125930660154628 i: 2276 ha.loc[0,'a'] 2434\n",
      "list(a)[0]: 2434 time: 0.36887192726135254 lenp(ha): 0.001352447930754666 rate: 0.001678884686377663 i: 2277 ha.loc[0,'a'] 5183\n",
      "list(a)[0]: 5183 time: 0.4949965476989746 lenp(ha): 0.0010819583446037328 rate: 0.0014356371892036267 i: 2278 ha.loc[0,'a'] 1253\n",
      "list(a)[0]: 1253 time: 0.34249019622802734 lenp(ha): 0.0008114687584527996 rate: 0.0011303854280440516 i: 2279 ha.loc[0,'a'] 8363\n",
      "list(a)[0]: 8363 time: 0.7145192623138428 lenp(ha): 0.0005409791723018664 rate: 0.0008251336668844765 i: 2280 ha.loc[0,'a'] 7374\n",
      "list(a)[0]: 7374 time: 0.6057322025299072 lenp(ha): 0.0002704895861509332 rate: 0.00046264720050748107 i: 2281 ha.loc[0,'a'] 3117\n",
      "list(a)[0]: 3117 time: 0.650503396987915 lenp(ha): 0.0 rate: 0.0 i: 2282 处理完毕！\n"
     ]
    }
   ],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "ha=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\a.csv')\n",
    "os_train=pd.read_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\os_train_shop.csv')\n",
    "i=os_train['shop_id'].max()+1\n",
    "# import winsound\n",
    "import time\n",
    "global indexxx, merid\n",
    "indexxx=[]\n",
    "merid=[]\n",
    "while 1:\n",
    "    use=ha.loc[0,'a']\n",
    "    print('list(a)[0]:',use,end=' ')\n",
    "    start=time.time()\n",
    "    index1=shopn([use])\n",
    "    end=time.time()\n",
    "    print('time:',end-start,end=' ')\n",
    "    os_train.loc[list(set(index1)),'shop_id']=i\n",
    "    for ind in set(os_train.loc[list(set(index1)),'Merchant_id'].values):\n",
    "        ha.drop(list(ha[ha['a']==ind].index),axis=0,inplace=True)\n",
    "    print('lenp(ha):',len(ha)/3697,'rate:',(len(os_train)-len(set(indexxx)))/len(os_train),\\\n",
    "          'i:',i,end=' ')\n",
    "#     winsound.Beep(400,600)\n",
    "    i+=1\n",
    "    ha=ha.sort_values(by=['len'],ascending=True).copy()\n",
    "    ha.index=np.arange(0,len(ha),1)\n",
    "    if len(ha)==0:\n",
    "        print('处理完毕！')\n",
    "        break\n",
    "    print('ha.loc[0,\\'a\\']',ha.loc[0,'a'])\n",
    "    indexxx=list(set(indexxx))\n",
    "    merid=list(set(merid))\n",
    "#     ha.to_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\a.csv',index=False)\n",
    "#     os_train.to_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\os_train_shop.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "ha.to_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\a.csv',index=False)\n",
    "os_train.to_csv(r'D:\\Data\\TCForNewComer\\deal\\valid\\os_train_shop.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>User_id</th>\n",
       "      <th>Merchant_id</th>\n",
       "      <th>Coupon_id</th>\n",
       "      <th>Discount_rate</th>\n",
       "      <th>Distance</th>\n",
       "      <th>Date_received</th>\n",
       "      <th>Date</th>\n",
       "      <th>ord_buy</th>\n",
       "      <th>Coupon_num</th>\n",
       "      <th>Coupon_nouse_num</th>\n",
       "      <th>...</th>\n",
       "      <th>Coupon_lep100</th>\n",
       "      <th>Coupon_grp100</th>\n",
       "      <th>Avg_saler_Coupon</th>\n",
       "      <th>Avg_distance</th>\n",
       "      <th>shop_count</th>\n",
       "      <th>shop_pro</th>\n",
       "      <th>Coupon_diffcount</th>\n",
       "      <th>Coupon_diffpro</th>\n",
       "      <th>same_Coupon_count</th>\n",
       "      <th>shop_id</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>215</td>\n",
       "      <td>129</td>\n",
       "      <td>8944</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>524</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>316</td>\n",
       "      <td>7974</td>\n",
       "      <td>8952</td>\n",
       "      <td>40.0</td>\n",
       "      <td>0</td>\n",
       "      <td>430</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>417</td>\n",
       "      <td>3381</td>\n",
       "      <td>11951</td>\n",
       "      <td>180.0</td>\n",
       "      <td>0</td>\n",
       "      <td>227</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>417</td>\n",
       "      <td>450</td>\n",
       "      <td>8555</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>203</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>417</td>\n",
       "      <td>6434</td>\n",
       "      <td>10050</td>\n",
       "      <td>45.0</td>\n",
       "      <td>0</td>\n",
       "      <td>227</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>417</td>\n",
       "      <td>3888</td>\n",
       "      <td>11366</td>\n",
       "      <td>40.0</td>\n",
       "      <td>0</td>\n",
       "      <td>227</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>417</td>\n",
       "      <td>775</td>\n",
       "      <td>5435</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>329</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>432</td>\n",
       "      <td>6424</td>\n",
       "      <td>1315</td>\n",
       "      <td>90.0</td>\n",
       "      <td>1</td>\n",
       "      <td>129</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>432</td>\n",
       "      <td>1041</td>\n",
       "      <td>13490</td>\n",
       "      <td>25.0</td>\n",
       "      <td>2</td>\n",
       "      <td>129</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>432</td>\n",
       "      <td>1569</td>\n",
       "      <td>5054</td>\n",
       "      <td>170.0</td>\n",
       "      <td>4</td>\n",
       "      <td>405</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>448</td>\n",
       "      <td>3381</td>\n",
       "      <td>11951</td>\n",
       "      <td>180.0</td>\n",
       "      <td>1</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>448</td>\n",
       "      <td>2709</td>\n",
       "      <td>2840</td>\n",
       "      <td>90.0</td>\n",
       "      <td>1</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>448</td>\n",
       "      <td>7555</td>\n",
       "      <td>9871</td>\n",
       "      <td>25.0</td>\n",
       "      <td>2</td>\n",
       "      <td>406</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>448</td>\n",
       "      <td>4833</td>\n",
       "      <td>7802</td>\n",
       "      <td>180.0</td>\n",
       "      <td>8</td>\n",
       "      <td>130</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>448</td>\n",
       "      <td>8077</td>\n",
       "      <td>6680</td>\n",
       "      <td>90.0</td>\n",
       "      <td>10</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>448</td>\n",
       "      <td>3381</td>\n",
       "      <td>1807</td>\n",
       "      <td>270.0</td>\n",
       "      <td>1</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>9</td>\n",
       "      <td>9</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>452</td>\n",
       "      <td>7605</td>\n",
       "      <td>9787</td>\n",
       "      <td>15.0</td>\n",
       "      <td>0</td>\n",
       "      <td>323</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>452</td>\n",
       "      <td>7921</td>\n",
       "      <td>7730</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>521</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>452</td>\n",
       "      <td>7921</td>\n",
       "      <td>12365</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>521</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>452</td>\n",
       "      <td>7921</td>\n",
       "      <td>8998</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>521</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>470</td>\n",
       "      <td>1892</td>\n",
       "      <td>452</td>\n",
       "      <td>90.0</td>\n",
       "      <td>2</td>\n",
       "      <td>113</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>470</td>\n",
       "      <td>7717</td>\n",
       "      <td>9614</td>\n",
       "      <td>19.0</td>\n",
       "      <td>2</td>\n",
       "      <td>424</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>569</td>\n",
       "      <td>4869</td>\n",
       "      <td>4788</td>\n",
       "      <td>45.0</td>\n",
       "      <td>2</td>\n",
       "      <td>604</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>728</td>\n",
       "      <td>4043</td>\n",
       "      <td>3222</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>518</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>736</td>\n",
       "      <td>450</td>\n",
       "      <td>1532</td>\n",
       "      <td>25.0</td>\n",
       "      <td>5</td>\n",
       "      <td>516</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>736</td>\n",
       "      <td>2709</td>\n",
       "      <td>2840</td>\n",
       "      <td>90.0</td>\n",
       "      <td>2</td>\n",
       "      <td>131</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>766</td>\n",
       "      <td>3630</td>\n",
       "      <td>3690</td>\n",
       "      <td>15.0</td>\n",
       "      <td>2</td>\n",
       "      <td>323</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>766</td>\n",
       "      <td>3630</td>\n",
       "      <td>3690</td>\n",
       "      <td>15.0</td>\n",
       "      <td>2</td>\n",
       "      <td>323</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>878</td>\n",
       "      <td>450</td>\n",
       "      <td>1613</td>\n",
       "      <td>25.0</td>\n",
       "      <td>10</td>\n",
       "      <td>602</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>892</td>\n",
       "      <td>1569</td>\n",
       "      <td>5054</td>\n",
       "      <td>170.0</td>\n",
       "      <td>2</td>\n",
       "      <td>426</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209633</th>\n",
       "      <td>7359538</td>\n",
       "      <td>6885</td>\n",
       "      <td>13616</td>\n",
       "      <td>9.0</td>\n",
       "      <td>10</td>\n",
       "      <td>217</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>1.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>1</td>\n",
       "      <td>10.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209634</th>\n",
       "      <td>7359649</td>\n",
       "      <td>450</td>\n",
       "      <td>1532</td>\n",
       "      <td>25.0</td>\n",
       "      <td>1</td>\n",
       "      <td>525</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209635</th>\n",
       "      <td>7359692</td>\n",
       "      <td>2934</td>\n",
       "      <td>5686</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>325</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209636</th>\n",
       "      <td>7359692</td>\n",
       "      <td>2934</td>\n",
       "      <td>5686</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>325</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209637</th>\n",
       "      <td>7359699</td>\n",
       "      <td>3939</td>\n",
       "      <td>1110</td>\n",
       "      <td>95.0</td>\n",
       "      <td>0</td>\n",
       "      <td>531</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209638</th>\n",
       "      <td>7359794</td>\n",
       "      <td>2709</td>\n",
       "      <td>13165</td>\n",
       "      <td>90.0</td>\n",
       "      <td>10</td>\n",
       "      <td>509</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209639</th>\n",
       "      <td>7359805</td>\n",
       "      <td>3381</td>\n",
       "      <td>7610</td>\n",
       "      <td>180.0</td>\n",
       "      <td>4</td>\n",
       "      <td>413</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209640</th>\n",
       "      <td>7359809</td>\n",
       "      <td>450</td>\n",
       "      <td>1613</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>614</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209641</th>\n",
       "      <td>7359809</td>\n",
       "      <td>4748</td>\n",
       "      <td>1130</td>\n",
       "      <td>180.0</td>\n",
       "      <td>3</td>\n",
       "      <td>513</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209642</th>\n",
       "      <td>7359809</td>\n",
       "      <td>4660</td>\n",
       "      <td>1480</td>\n",
       "      <td>90.0</td>\n",
       "      <td>10</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209643</th>\n",
       "      <td>7359809</td>\n",
       "      <td>6434</td>\n",
       "      <td>10050</td>\n",
       "      <td>45.0</td>\n",
       "      <td>10</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209644</th>\n",
       "      <td>7360071</td>\n",
       "      <td>1469</td>\n",
       "      <td>7430</td>\n",
       "      <td>30.0</td>\n",
       "      <td>3</td>\n",
       "      <td>521</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209645</th>\n",
       "      <td>7360401</td>\n",
       "      <td>4660</td>\n",
       "      <td>1480</td>\n",
       "      <td>90.0</td>\n",
       "      <td>1</td>\n",
       "      <td>127</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209646</th>\n",
       "      <td>7360401</td>\n",
       "      <td>7555</td>\n",
       "      <td>17</td>\n",
       "      <td>25.0</td>\n",
       "      <td>5</td>\n",
       "      <td>127</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209647</th>\n",
       "      <td>7360401</td>\n",
       "      <td>450</td>\n",
       "      <td>1532</td>\n",
       "      <td>25.0</td>\n",
       "      <td>5</td>\n",
       "      <td>522</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209648</th>\n",
       "      <td>7360401</td>\n",
       "      <td>760</td>\n",
       "      <td>2418</td>\n",
       "      <td>25.0</td>\n",
       "      <td>0</td>\n",
       "      <td>605</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209649</th>\n",
       "      <td>7360432</td>\n",
       "      <td>8144</td>\n",
       "      <td>11344</td>\n",
       "      <td>19.0</td>\n",
       "      <td>1</td>\n",
       "      <td>515</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209650</th>\n",
       "      <td>7360556</td>\n",
       "      <td>6434</td>\n",
       "      <td>10050</td>\n",
       "      <td>45.0</td>\n",
       "      <td>10</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209651</th>\n",
       "      <td>7360556</td>\n",
       "      <td>4660</td>\n",
       "      <td>1480</td>\n",
       "      <td>90.0</td>\n",
       "      <td>3</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209652</th>\n",
       "      <td>7360556</td>\n",
       "      <td>6284</td>\n",
       "      <td>7379</td>\n",
       "      <td>40.0</td>\n",
       "      <td>6</td>\n",
       "      <td>125</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>3</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209653</th>\n",
       "      <td>7360651</td>\n",
       "      <td>8856</td>\n",
       "      <td>83</td>\n",
       "      <td>9.0</td>\n",
       "      <td>0</td>\n",
       "      <td>606</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>1580</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209654</th>\n",
       "      <td>7360785</td>\n",
       "      <td>6424</td>\n",
       "      <td>1315</td>\n",
       "      <td>90.0</td>\n",
       "      <td>8</td>\n",
       "      <td>131</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209655</th>\n",
       "      <td>7360845</td>\n",
       "      <td>1569</td>\n",
       "      <td>5054</td>\n",
       "      <td>170.0</td>\n",
       "      <td>8</td>\n",
       "      <td>413</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209656</th>\n",
       "      <td>7360845</td>\n",
       "      <td>450</td>\n",
       "      <td>3732</td>\n",
       "      <td>25.0</td>\n",
       "      <td>8</td>\n",
       "      <td>410</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209657</th>\n",
       "      <td>7360845</td>\n",
       "      <td>5341</td>\n",
       "      <td>11539</td>\n",
       "      <td>25.0</td>\n",
       "      <td>8</td>\n",
       "      <td>128</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209658</th>\n",
       "      <td>7360967</td>\n",
       "      <td>6485</td>\n",
       "      <td>10323</td>\n",
       "      <td>15.0</td>\n",
       "      <td>1</td>\n",
       "      <td>322</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209659</th>\n",
       "      <td>7360967</td>\n",
       "      <td>6485</td>\n",
       "      <td>10323</td>\n",
       "      <td>15.0</td>\n",
       "      <td>1</td>\n",
       "      <td>322</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209660</th>\n",
       "      <td>7360967</td>\n",
       "      <td>3103</td>\n",
       "      <td>2375</td>\n",
       "      <td>29.0</td>\n",
       "      <td>2</td>\n",
       "      <td>120</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>2235</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209661</th>\n",
       "      <td>7360967</td>\n",
       "      <td>3103</td>\n",
       "      <td>2375</td>\n",
       "      <td>29.0</td>\n",
       "      <td>2</td>\n",
       "      <td>110</td>\n",
       "      <td>0</td>\n",
       "      <td>2</td>\n",
       "      <td>4</td>\n",
       "      <td>4</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>2235</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209662</th>\n",
       "      <td>7361024</td>\n",
       "      <td>1433</td>\n",
       "      <td>8735</td>\n",
       "      <td>25.0</td>\n",
       "      <td>10</td>\n",
       "      <td>211</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>...</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0.0</td>\n",
       "      <td>0</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>209663 rows × 24 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        User_id  Merchant_id  Coupon_id  Discount_rate  Distance  \\\n",
       "0           215          129       8944           25.0         1   \n",
       "1           316         7974       8952           40.0         0   \n",
       "2           417         3381      11951          180.0         0   \n",
       "3           417          450       8555           25.0         1   \n",
       "4           417         6434      10050           45.0         0   \n",
       "5           417         3888      11366           40.0         0   \n",
       "6           417          775       5435           25.0         0   \n",
       "7           432         6424       1315           90.0         1   \n",
       "8           432         1041      13490           25.0         2   \n",
       "9           432         1569       5054          170.0         4   \n",
       "10          448         3381      11951          180.0         1   \n",
       "11          448         2709       2840           90.0         1   \n",
       "12          448         7555       9871           25.0         2   \n",
       "13          448         4833       7802          180.0         8   \n",
       "14          448         8077       6680           90.0        10   \n",
       "15          448         3381       1807          270.0         1   \n",
       "16          452         7605       9787           15.0         0   \n",
       "17          452         7921       7730           25.0         1   \n",
       "18          452         7921      12365           25.0         1   \n",
       "19          452         7921       8998           25.0         1   \n",
       "20          470         1892        452           90.0         2   \n",
       "21          470         7717       9614           19.0         2   \n",
       "22          569         4869       4788           45.0         2   \n",
       "23          728         4043       3222           25.0         1   \n",
       "24          736          450       1532           25.0         5   \n",
       "25          736         2709       2840           90.0         2   \n",
       "26          766         3630       3690           15.0         2   \n",
       "27          766         3630       3690           15.0         2   \n",
       "28          878          450       1613           25.0        10   \n",
       "29          892         1569       5054          170.0         2   \n",
       "...         ...          ...        ...            ...       ...   \n",
       "209633  7359538         6885      13616            9.0        10   \n",
       "209634  7359649          450       1532           25.0         1   \n",
       "209635  7359692         2934       5686           25.0         0   \n",
       "209636  7359692         2934       5686           25.0         0   \n",
       "209637  7359699         3939       1110           95.0         0   \n",
       "209638  7359794         2709      13165           90.0        10   \n",
       "209639  7359805         3381       7610          180.0         4   \n",
       "209640  7359809          450       1613           25.0         0   \n",
       "209641  7359809         4748       1130          180.0         3   \n",
       "209642  7359809         4660       1480           90.0        10   \n",
       "209643  7359809         6434      10050           45.0        10   \n",
       "209644  7360071         1469       7430           30.0         3   \n",
       "209645  7360401         4660       1480           90.0         1   \n",
       "209646  7360401         7555         17           25.0         5   \n",
       "209647  7360401          450       1532           25.0         5   \n",
       "209648  7360401          760       2418           25.0         0   \n",
       "209649  7360432         8144      11344           19.0         1   \n",
       "209650  7360556         6434      10050           45.0        10   \n",
       "209651  7360556         4660       1480           90.0         3   \n",
       "209652  7360556         6284       7379           40.0         6   \n",
       "209653  7360651         8856         83            9.0         0   \n",
       "209654  7360785         6424       1315           90.0         8   \n",
       "209655  7360845         1569       5054          170.0         8   \n",
       "209656  7360845          450       3732           25.0         8   \n",
       "209657  7360845         5341      11539           25.0         8   \n",
       "209658  7360967         6485      10323           15.0         1   \n",
       "209659  7360967         6485      10323           15.0         1   \n",
       "209660  7360967         3103       2375           29.0         2   \n",
       "209661  7360967         3103       2375           29.0         2   \n",
       "209662  7361024         1433       8735           25.0        10   \n",
       "\n",
       "        Date_received  Date  ord_buy  Coupon_num  Coupon_nouse_num   ...     \\\n",
       "0                 524     0        1           1                 1   ...      \n",
       "1                 430     0        0           1                 1   ...      \n",
       "2                 227     0        0           5                 4   ...      \n",
       "3                 203     0        0           5                 4   ...      \n",
       "4                 227     0        0           5                 4   ...      \n",
       "5                 227     0        0           5                 4   ...      \n",
       "6                 329     1        1           5                 4   ...      \n",
       "7                 129     0        0           3                 3   ...      \n",
       "8                 129     0        0           3                 3   ...      \n",
       "9                 405     0        0           3                 3   ...      \n",
       "10                128     0        0           9                 9   ...      \n",
       "11                128     0        0           9                 9   ...      \n",
       "12                406     0        0           9                 9   ...      \n",
       "13                130     0        0           9                 9   ...      \n",
       "14                128     0        0           9                 9   ...      \n",
       "15                128     0        0           9                 9   ...      \n",
       "16                323     0        1           4                 4   ...      \n",
       "17                521     0        1           4                 4   ...      \n",
       "18                521     0        1           4                 4   ...      \n",
       "19                521     0        1           4                 4   ...      \n",
       "20                113     0        1           2                 2   ...      \n",
       "21                424     0        0           2                 2   ...      \n",
       "22                604     0        0           1                 1   ...      \n",
       "23                518     0        0           2                 2   ...      \n",
       "24                516     0        0           2                 2   ...      \n",
       "25                131     0        0           2                 2   ...      \n",
       "26                323     0        1           2                 2   ...      \n",
       "27                323     0        1           2                 2   ...      \n",
       "28                602     0        1           1                 1   ...      \n",
       "29                426     0        0           1                 1   ...      \n",
       "...               ...   ...      ...         ...               ...   ...      \n",
       "209633            217     1        1           3                 2   ...      \n",
       "209634            525     0        0           1                 1   ...      \n",
       "209635            325     0        2           2                 2   ...      \n",
       "209636            325     0        2           2                 2   ...      \n",
       "209637            531     0        0           1                 1   ...      \n",
       "209638            509     0        0           1                 1   ...      \n",
       "209639            413     0        0           1                 1   ...      \n",
       "209640            614     0        0           4                 4   ...      \n",
       "209641            513     0        0           4                 4   ...      \n",
       "209642            125     0        0           4                 4   ...      \n",
       "209643            125     0        0           4                 4   ...      \n",
       "209644            521     0        0           1                 1   ...      \n",
       "209645            127     0        0           4                 4   ...      \n",
       "209646            127     0        0           4                 4   ...      \n",
       "209647            522     0        0           4                 4   ...      \n",
       "209648            605     0        0           4                 4   ...      \n",
       "209649            515     0        1           1                 1   ...      \n",
       "209650            125     0        0           3                 3   ...      \n",
       "209651            125     0        0           3                 3   ...      \n",
       "209652            125     0        0           3                 3   ...      \n",
       "209653            606     0        3           1                 1   ...      \n",
       "209654            131     0        0           1                 1   ...      \n",
       "209655            413     0        0           3                 2   ...      \n",
       "209656            410     0        0           3                 2   ...      \n",
       "209657            128     0        0           3                 2   ...      \n",
       "209658            322     0        0           4                 4   ...      \n",
       "209659            322     0        0           4                 4   ...      \n",
       "209660            120     0        2           4                 4   ...      \n",
       "209661            110     0        2           4                 4   ...      \n",
       "209662            211     0        0           1                 1   ...      \n",
       "\n",
       "        Coupon_lep100  Coupon_grp100  Avg_saler_Coupon  Avg_distance  \\\n",
       "0                 0.0            0.0                 0           0.0   \n",
       "1                 0.0            0.0                 0           0.0   \n",
       "2                 1.0            0.0                 1           0.0   \n",
       "3                 1.0            0.0                 0           0.0   \n",
       "4                 1.0            0.0                 1           0.0   \n",
       "5                 1.0            0.0                 1           0.0   \n",
       "6                 1.0            0.0                 1           0.0   \n",
       "7                 0.0            0.0                 0           0.0   \n",
       "8                 0.0            0.0                 0           0.0   \n",
       "9                 0.0            0.0                 0           0.0   \n",
       "10                0.0            0.0                 0           0.0   \n",
       "11                0.0            0.0                 0           0.0   \n",
       "12                0.0            0.0                 0           0.0   \n",
       "13                0.0            0.0                 0           0.0   \n",
       "14                0.0            0.0                 0           0.0   \n",
       "15                0.0            0.0                 0           0.0   \n",
       "16                0.0            0.0                 0           0.0   \n",
       "17                0.0            0.0                 0           0.0   \n",
       "18                0.0            0.0                 0           0.0   \n",
       "19                0.0            0.0                 0           0.0   \n",
       "20                0.0            0.0                 0           0.0   \n",
       "21                0.0            0.0                 0           0.0   \n",
       "22                0.0            0.0                 0           0.0   \n",
       "23                0.0            0.0                 0           0.0   \n",
       "24                0.0            0.0                 0           0.0   \n",
       "25                0.0            0.0                 0           0.0   \n",
       "26                0.0            0.0                 0           0.0   \n",
       "27                0.0            0.0                 0           0.0   \n",
       "28                0.0            0.0                 0           0.0   \n",
       "29                0.0            0.0                 0           0.0   \n",
       "...               ...            ...               ...           ...   \n",
       "209633            1.0            0.0                 1          10.0   \n",
       "209634            0.0            0.0                 0           0.0   \n",
       "209635            0.0            0.0                 0           0.0   \n",
       "209636            0.0            0.0                 0           0.0   \n",
       "209637            0.0            0.0                 0           0.0   \n",
       "209638            0.0            0.0                 0           0.0   \n",
       "209639            0.0            0.0                 0           0.0   \n",
       "209640            0.0            0.0                 0           0.0   \n",
       "209641            0.0            0.0                 0           0.0   \n",
       "209642            0.0            0.0                 0           0.0   \n",
       "209643            0.0            0.0                 0           0.0   \n",
       "209644            0.0            0.0                 0           0.0   \n",
       "209645            0.0            0.0                 0           0.0   \n",
       "209646            0.0            0.0                 0           0.0   \n",
       "209647            0.0            0.0                 0           0.0   \n",
       "209648            0.0            0.0                 0           0.0   \n",
       "209649            0.0            0.0                 0           0.0   \n",
       "209650            0.0            0.0                 0           0.0   \n",
       "209651            0.0            0.0                 0           0.0   \n",
       "209652            0.0            0.0                 0           0.0   \n",
       "209653            0.0            0.0                 0           0.0   \n",
       "209654            0.0            0.0                 0           0.0   \n",
       "209655            0.0            0.0                 0           0.0   \n",
       "209656            0.0            0.0                 0           0.0   \n",
       "209657            0.0            0.0                 0           0.0   \n",
       "209658            0.0            0.0                 0           0.0   \n",
       "209659            0.0            0.0                 0           0.0   \n",
       "209660            0.0            0.0                 0           0.0   \n",
       "209661            0.0            0.0                 0           0.0   \n",
       "209662            0.0            0.0                 0           0.0   \n",
       "\n",
       "        shop_count  shop_pro  Coupon_diffcount  Coupon_diffpro  \\\n",
       "0                0       0.0                 0             0.0   \n",
       "1                0       0.0                 0             0.0   \n",
       "2                1       1.0                 1             0.0   \n",
       "3                1       0.0                 1             0.0   \n",
       "4                1       1.0                 1             0.0   \n",
       "5                1       1.0                 1             0.0   \n",
       "6                1       1.0                 1             1.0   \n",
       "7                0       0.0                 0             0.0   \n",
       "8                0       0.0                 0             0.0   \n",
       "9                0       0.0                 0             0.0   \n",
       "10               0       0.0                 0             0.0   \n",
       "11               0       0.0                 0             0.0   \n",
       "12               0       0.0                 0             0.0   \n",
       "13               0       0.0                 0             0.0   \n",
       "14               0       0.0                 0             0.0   \n",
       "15               0       0.0                 0             0.0   \n",
       "16               0       0.0                 0             0.0   \n",
       "17               0       0.0                 0             0.0   \n",
       "18               0       0.0                 0             0.0   \n",
       "19               0       0.0                 0             0.0   \n",
       "20               0       0.0                 0             0.0   \n",
       "21               0       0.0                 0             0.0   \n",
       "22               0       0.0                 0             0.0   \n",
       "23               0       0.0                 0             0.0   \n",
       "24               0       0.0                 0             0.0   \n",
       "25               0       0.0                 0             0.0   \n",
       "26               0       0.0                 0             0.0   \n",
       "27               0       0.0                 0             0.0   \n",
       "28               0       0.0                 0             0.0   \n",
       "29               0       0.0                 0             0.0   \n",
       "...            ...       ...               ...             ...   \n",
       "209633           1       1.0                 1             1.0   \n",
       "209634           0       0.0                 0             0.0   \n",
       "209635           0       0.0                 0             0.0   \n",
       "209636           0       0.0                 0             0.0   \n",
       "209637           0       0.0                 0             0.0   \n",
       "209638           0       0.0                 0             0.0   \n",
       "209639           0       0.0                 0             0.0   \n",
       "209640           0       0.0                 0             0.0   \n",
       "209641           0       0.0                 0             0.0   \n",
       "209642           0       0.0                 0             0.0   \n",
       "209643           0       0.0                 0             0.0   \n",
       "209644           0       0.0                 0             0.0   \n",
       "209645           0       0.0                 0             0.0   \n",
       "209646           0       0.0                 0             0.0   \n",
       "209647           0       0.0                 0             0.0   \n",
       "209648           0       0.0                 0             0.0   \n",
       "209649           0       0.0                 0             0.0   \n",
       "209650           0       0.0                 0             0.0   \n",
       "209651           0       0.0                 0             0.0   \n",
       "209652           0       0.0                 0             0.0   \n",
       "209653           0       0.0                 0             0.0   \n",
       "209654           0       0.0                 0             0.0   \n",
       "209655           0       0.0                 0             0.0   \n",
       "209656           0       0.0                 0             0.0   \n",
       "209657           0       0.0                 0             0.0   \n",
       "209658           0       0.0                 0             0.0   \n",
       "209659           0       0.0                 0             0.0   \n",
       "209660           0       0.0                 0             0.0   \n",
       "209661           0       0.0                 0             0.0   \n",
       "209662           0       0.0                 0             0.0   \n",
       "\n",
       "        same_Coupon_count  shop_id  \n",
       "0                       0       13  \n",
       "1                       0       13  \n",
       "2                       1       13  \n",
       "3                       1       13  \n",
       "4                       1       13  \n",
       "5                       1       13  \n",
       "6                       1       13  \n",
       "7                       0       13  \n",
       "8                       0       13  \n",
       "9                       0       13  \n",
       "10                      0       13  \n",
       "11                      0       13  \n",
       "12                      0       13  \n",
       "13                      0       13  \n",
       "14                      0       13  \n",
       "15                      0       13  \n",
       "16                      0       13  \n",
       "17                      0       13  \n",
       "18                      0       13  \n",
       "19                      0       13  \n",
       "20                      0       13  \n",
       "21                      0       13  \n",
       "22                      0       13  \n",
       "23                      0       13  \n",
       "24                      0       13  \n",
       "25                      0       13  \n",
       "26                      0       13  \n",
       "27                      0       13  \n",
       "28                      0       13  \n",
       "29                      0       13  \n",
       "...                   ...      ...  \n",
       "209633                  2       13  \n",
       "209634                  0       13  \n",
       "209635                  0       13  \n",
       "209636                  0       13  \n",
       "209637                  0       13  \n",
       "209638                  0       13  \n",
       "209639                  0       13  \n",
       "209640                  0       13  \n",
       "209641                  0       13  \n",
       "209642                  0       13  \n",
       "209643                  0       13  \n",
       "209644                  0       13  \n",
       "209645                  0       13  \n",
       "209646                  0       13  \n",
       "209647                  0       13  \n",
       "209648                  0       13  \n",
       "209649                  0       13  \n",
       "209650                  0       13  \n",
       "209651                  0       13  \n",
       "209652                  0       13  \n",
       "209653                  0     1580  \n",
       "209654                  0       13  \n",
       "209655                  0       13  \n",
       "209656                  0       13  \n",
       "209657                  0       13  \n",
       "209658                  0       13  \n",
       "209659                  0       13  \n",
       "209660                  0     2235  \n",
       "209661                  0     2235  \n",
       "209662                  0       13  \n",
       "\n",
       "[209663 rows x 24 columns]"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "os_train"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true,
    "scrolled": false
   },
   "outputs": [],
   "source": [
    "global indexxx, merid\n",
    "indexxx=[]\n",
    "merid=[]\n",
    "start=time.time()\n",
    "index1=shopn([450])\n",
    "end=time.time()\n",
    "print('time:',end-start,end=' ')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true,
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "indexxx.sort()\n",
    "indexxx"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 88,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "131678"
      ]
     },
     "execution_count": 88,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(set(indexxx))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 68,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "False"
      ]
     },
     "execution_count": 68,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "6324251 in os_train[os_train['Merchant_id']==7555]['User_id'].values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "os_train[os_train['Merchant_id']==7555]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
